Merge pull request #317 from Connoropolous/Rob's-1-edits
Changed search shortcut to be Ctrl+/
This commit is contained in:
commit
f62107ba43
1 changed files with 3 additions and 3 deletions
|
@ -144,10 +144,10 @@ var labelType, useGradients, nativeTextSupport, animate, json, Mconsole = null,
|
||||||
});
|
});
|
||||||
|
|
||||||
// if the search is closed and user hits SHIFT+S
|
// if the search is closed and user hits SHIFT+S
|
||||||
$('body').bind('keyup', function(e) {
|
$('body').bind('keydown', function(e) {
|
||||||
switch(e.which) {
|
switch(e.which) {
|
||||||
case 83:
|
case 191:
|
||||||
if (e.shiftKey && !searchIsOpen) {
|
if (e.ctrlKey && !searchIsOpen) {
|
||||||
openSearch();
|
openSearch();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue