From f07da722c73a1ae0bb0bbac290e2ec0e555e5241 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 14 Dec 2011 10:01:52 +0100 Subject: [PATCH] Let me tab between the keybind options. --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 5bccf0d6a..10c373759 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1427,6 +1427,7 @@ return g.hiddenReplies = {}; }, keybind: function(e) { + if (e.keyCode === 9) return; e.preventDefault(); e.stopPropagation(); if ((key = keybinds.keyCode(e)) == null) return; diff --git a/script.coffee b/script.coffee index 0c3e4e913..0b6e4caa5 100644 --- a/script.coffee +++ b/script.coffee @@ -1068,6 +1068,7 @@ options = @textContent = "hidden: 0" g.hiddenReplies = {} keybind: (e) -> + return if e.keyCode is 9 e.preventDefault() e.stopPropagation() return unless (key = keybinds.keyCode e)?