]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fix feedback backspace not-working bug.
authorChris Porter <redacted>
Sun, 1 Feb 2009 21:42:54 +0000 (21:42 +0000)
committerChris Porter <redacted>
Sun, 1 Feb 2009 21:42:54 +0000 (21:42 +0000)
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)