Mercurial > google_bookmarks_incsearch
comparison chrome/content/init.js @ 6:ac5648afee47 default tip
change hot key from ctrl to alt.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 23 May 2009 11:56:41 +0900 |
parents | c47ec96326ad |
children |
comparison
equal
deleted
inserted
replaced
5:8f7e53bfe0e8 | 6:ac5648afee47 |
---|---|
174 | 174 |
175 // shortcut | 175 // shortcut |
176 document.addEventListener( | 176 document.addEventListener( |
177 'keydown', | 177 'keydown', |
178 function(event) { | 178 function(event) { |
179 if (event.ctrlKey) { | 179 if (event.altKey) { |
180 switch(event.keyCode) { | 180 switch(event.keyCode) { |
181 case 85: // u (Sync) | 181 case 85: // u (Sync) |
182 hideMsgBox(); | 182 hideMsgBox(); |
183 update(); | 183 update(); |
184 IncSearch._stopEvent(event); | 184 IncSearch._stopEvent(event); |