jquery.entwine
jquery.entwine copied to clipboard
Can't open inspector on Chrome OSX
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});
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