Mercurial > google_bookmarks_incsearch
comparison chrome/content/incsearch.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 |
---|---|
380 this.createInfo(); | 380 this.createInfo(); |
381 window.scrollTo(0, 0); | 381 window.scrollTo(0, 0); |
382 }, | 382 }, |
383 | 383 |
384 hotkey: function(event) { | 384 hotkey: function(event) { |
385 if (event.ctrlKey) { | 385 if (event.altKey) { |
386 switch(event.keyCode) { | 386 switch(event.keyCode) { |
387 case 13: // Enter | 387 case 13: // Enter |
388 case 77: // m (Enter Max OS X) | 388 case 77: // m (Enter Max OS X) |
389 this.openUrl(this.nowRow); | 389 this.openUrl(this.nowRow); |
390 IncSearch._stopEvent(event); | 390 IncSearch._stopEvent(event); |