Commit Graph

15 Commits

Author SHA1 Message Date
evazion
c3fa653fc5 hotkeys: refactor to use .on(), namespaces.
* Use .on() instead of .bind() because bind is deprecated in jquery 3.0.
* Ensure enable-js-navigation is always respected.
* Namespace keybindings so they may be disabled by userscripts with
  e.g. $(document).off("keydown.danbooru") or $(document).off("next_page").
2017-01-24 02:45:55 -06:00
Toks
af2167ea32 Fix bugs when anonymous uses member-only shortcuts 2016-01-13 11:48:25 -05:00
Toks
811a60bb9d Support R key shortcut on /favorites 2015-12-23 19:27:09 -05:00
Toks
a0baaea1b2 fix #1852 2015-04-23 11:20:14 -04:00
r888888888
81c5c15758 revert hammer js changes 2014-08-20 16:50:53 -07:00
r888888888
461f3b4a4d fixes #2243 2014-08-18 13:13:49 -07:00
Toks
abfd48d58a #1938: Add random post keyboard shortcut 2014-06-08 14:34:36 -04:00
r888888888
714c752402 fixes #2163 2014-05-22 17:50:41 -07:00
Toks
79a7fe6ea9 #1875: Fix link highlighting 2013-07-27 14:16:10 -04:00
Toks
eeb5c861e4 #1875: Add shift-e shortcut for opening dialog
Additionally, fit the textarea's size to its contents on open.
2013-07-27 13:57:12 -04:00
Toks
1402341445 fixes #1625 2013-07-25 20:05:21 -04:00
r888888888
84db715c1b fixes #1807 2013-06-27 15:24:55 -07:00
r888888888
25db78f8c0 fix key shortcuts 2013-06-19 14:39:05 -07:00
r888888888
cf74b592cd fixes #1773 2013-06-19 14:04:27 -07:00
Toks
eeaabe00b0 fixes #1385; fixes #1386 2013-06-05 09:33:39 -04:00