diff options
| author | Phil Crosby | 2011-11-26 18:00:46 -0800 | 
|---|---|---|
| committer | Phil Crosby | 2011-11-26 18:06:56 -0800 | 
| commit | f99512b77d3a80d8521de24909193cc28f91b010 (patch) | |
| tree | 249500b824f707ba22b3ceb8e974f90d47dd3825 /bookmarks.js | |
| parent | d3c8e64b312053472b007af6782b964c41045c8e (diff) | |
| download | vimium-f99512b77d3a80d8521de24909193cc28f91b010.tar.bz2 | |
Whitespace
Diffstat (limited to 'bookmarks.js')
| -rw-r--r-- | bookmarks.js | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/bookmarks.js b/bookmarks.js index 99e54e9c..8551d160 100644 --- a/bookmarks.js +++ b/bookmarks.js @@ -1,4 +1,4 @@ -function activateBookmarkFindModeToOpenInNewTab() {  +function activateBookmarkFindModeToOpenInNewTab() {    BookmarkMode.openInNewTab(true);    BookmarkMode.enable();  } @@ -32,12 +32,12 @@ function activateBookmarkFindMode() {        if(!this.initialized) {          initialize.call(this);        } -       +        handlerStack.push({          keydown: this.onKeydown,          keyup: this.onKeyup        }); -       +        this.renderHUD();        this.completionDialog.show();      }, @@ -53,7 +53,7 @@ function activateBookmarkFindMode() {        else          HUD.show("Open bookmark in current tab");      } -     +    }    // private method @@ -75,7 +75,7 @@ function activateBookmarkFindMode() {          else {            window.open(url);          } -         +          self.disable();        },        renderOption: function(searchString, selection) { @@ -106,12 +106,12 @@ function activateBookmarkFindMode() {        // TODO(philc): Ignore keys that have modifiers.        if (isEscape(event)) {          self.disable(); -      }  +      }        event.stopPropagation();        event.preventDefault();      }; -     +      self.onKeyup = function(event) {        // shift key will toggle between new tab/same tab        if (event.keyCode == keyCodes.shiftKey && shiftWasPressedWhileToggled) {  | 
