X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/blobdiff_plain/1e9c8714d7ef3865251410815b1573cb1e3ee8c0..deebe19a416abafaa719d4460eb7ed2a95d6ca46:/js/ui/baseui.js diff --git a/js/ui/baseui.js b/js/ui/baseui.js index 03f637d..0473d89 100644 --- a/js/ui/baseui.js +++ b/js/ui/baseui.js @@ -216,7 +216,9 @@ qwebirc.ui.StandardUI = new Class({ new Event(x).stop(); }, getInputFocused: function(x) { - return $$("input").indexOf(x.target) > -1; + if($$("input").indexOf(x.target) == -1 && $$("textarea").indexOf(x.target) == -1) + return false; + return true; }, newCustomWindow: function(name, select, type) { if(!type)