From 2d75eedc540d1c2711f551a9cfb3927695e46c6a Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 22 May 2011 10:06:13 -0700 Subject: [PATCH] keybind: e - toggle thread expansion. closes #100 --- 4chan_x.js | 2 ++ script.coffee | 2 ++ 2 files changed, 4 insertions(+) diff --git a/4chan_x.js b/4chan_x.js index 469c0145a..74639f61b 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -720,6 +720,8 @@ return keybinds.img(thread, true); case 'O': return keybinds.open(thread); + case 'e': + return expandThread.toggle(thread); case 'i': return keybinds.qr(thread, true); case 'm': diff --git a/script.coffee b/script.coffee index 1a71eb5ef..3624752b3 100644 --- a/script.coffee +++ b/script.coffee @@ -529,6 +529,8 @@ keybinds = keybinds.img thread, true when 'O' keybinds.open thread + when 'e' + expandThread.toggle thread when 'i' keybinds.qr thread, true when 'm'