Show
Ignore:
Timestamp:
07/17/08 07:59:07 (4 months ago)
Author:
teramako
Message:

ちょっと修正

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/bookmarktoolbar-hint.js

    r13457 r15910  
    9494                        this.go = options.guioptions; 
    9595                        options.guioptions += "b"; 
    96                         //liberator.modes.setCustomMode('BookmarksToolbar-Hint', this.onEvent, this.quit); 
     96                        this.where = where; 
    9797                        liberator.modes.setCustomMode('BookmarksToolbar-Hint', function(){return;}, this.quit); 
    9898                        this.show(); 
     
    147147                                        } 
    148148                                        return; 
    149                                 case "h": 
    150149                                case "<BS>": 
    151150                                        if (key == "<BS>" && currentNum > 0){ 
    152151                                                currentNum = Math.floor(currentNum / 10); 
    153152                                                updateSelector(); 
     153                                                return; 
     154                                        } 
     155                                case "h": 
     156                                        if (current == this.toolbar){ 
     157                                                closeMenus(current); 
     158                                                liberator.options.guioptions = this.go; 
     159                                                this.quit(); 
    154160                                        } else { 
    155                                                 if (current == this.toolbar){ 
    156                                                         closeMenus(current); 
    157                                                         liberator.options.guioptions = this.go; 
    158                                                         this.quit(); 
    159                                                 } else { 
    160                                                         current.hidePopup(); 
    161                                                         clearTooltips(); 
    162                                                         this.show(current.parentNode.parentNode); 
    163                                                 } 
     161                                                current.hidePopup(); 
     162                                                clearTooltips(); 
     163                                                this.show(current.parentNode.parentNode); 
    164164                                        } 
    165165                                        return;