diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 17:44:30 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 17:44:30 +0200 |
commit | 2a42335d0d757a12627def6f2200486338ec7ded (patch) | |
tree | 2d8010ee3905ca11eb33079b874893d83598de05 /web/public | |
parent | b943cea16aedb71ca3c05bae2e726c195bfb4b12 (diff) | |
download | taginfo-2a42335d0d757a12627def6f2200486338ec7ded.tar taginfo-2a42335d0d757a12627def6f2200486338ec7ded.tar.gz |
Add keyboard shortcut for comparison page.
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/js/taginfo.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index b72eec9..a67d564 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -685,6 +685,8 @@ jQuery(document).ready(function() { jQuery('#help_link').bind('click', open_help); + jQuery.cookie.json = true; + jQuery.getQueryString = (function(a) { if (a == "") return {}; var b = {}; @@ -734,6 +736,9 @@ jQuery(document).ready(function() { case 63: // ? open_help(); break; + case 67: // c + window.location = comparison_list_url(get_comparison_list()); + break; case 70: // f jQuery('input.qsbox').focus(); break; |