From: Andrew Dolgov Date: Sun, 11 Mar 2012 04:54:14 +0000 (+0400) Subject: prefs: ignore hotkeys while in TEXTAREA X-Git-Tag: 1.5.11~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e33b0b80b299c25241836c4d62b1f0cc1813961a;p=tt-rss.git prefs: ignore hotkeys while in TEXTAREA --- diff --git a/js/prefs.js b/js/prefs.js index 4342f617..e9ae891f 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -970,7 +970,7 @@ function validatePrefsReset() { function pref_hotkey_handler(e) { try { - if (e.target.nodeName == "INPUT") return; + if (e.target.nodeName == "INPUT" || e.target.nodeName == "TEXTAREA") return; var keycode = false; var shift_key = false;