Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open inspector on Chrome OSX #26

Open
chillu opened this issue Nov 22, 2013 · 1 comment
Open

Can't open inspector on Chrome OSX #26

chillu opened this issue Nov 22, 2013 · 1 comment

Comments

@chillu
Copy link
Contributor

chillu commented Nov 22, 2013

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});
@UndefinedOffset
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants