]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/baseui.js
Fix feedback backspace not-working bug.
[irc/quakenet/qwebirc.git] / js / ui / baseui.js
index 03f637d6ebb31f762ab7358a17c24035db01f3b8..0473d893f31ccad4d0492d14ebe4a0a0285d79ac 100644 (file)
@@ -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)