jquery.entwine icon indicating copy to clipboard operation
jquery.entwine copied to clipboard

Can't open inspector on Chrome OSX

Open chillu opened this issue 11 years ago • 1 comments

The CTRL+<backtick> key combo doesn't seem to register as a keyboard event in Chrome (with standard US keyboard layout and OSX settings). How about CTRL+\ instead?

diff --git a/thirdparty/jquery-entwine/src/jquery.entwine.inspector.js b/thirdparty/jquery-entwine/src/jq
index 588a535..991be0d 100755
--- a/thirdparty/jquery-entwine/src/jquery.entwine.inspector.js
+++ b/thirdparty/jquery-entwine/src/jquery.entwine.inspector.js
@@ -45,7 +45,7 @@ jQuery(function($){
        });

        $('body').bind('keypress', function(e){
-               if (e.ctrlKey && e.which == 96) {
+               if (e.ctrlKey && e.which == 28) {
                        if (inspectorPanel.css('visibility') != 'visible') {
                                inspectorPanel.css({top: 0, visibility: 'visible'});
                                $('body').css({marginTop: 400});

chillu avatar Nov 22 '13 11:11 chillu

You know I've been noticing this in firefox on windows ctrl+backtick jumps to the first tab groups first tab. Interestingly as well backslash () is e.which==92

UndefinedOffset avatar Apr 01 '15 18:04 UndefinedOffset