]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fixes issue 51 (maxlength on inputbox).
authorChris Porter <redacted>
Sun, 21 Jun 2009 17:08:46 +0000 (18:08 +0100)
committerChris Porter <redacted>
Sun, 21 Jun 2009 17:08:46 +0000 (18:08 +0100)
js/ui/frontends/qui.js

index cb083ce04298756aa97669bce8fb53b5ab880959..8863808c41acb59f40976ff8123be0e52ab288be 100644 (file)
@@ -147,6 +147,7 @@ qwebirc.ui.QUI = new Class({
     var inputbox = new Element("input");
     form.appendChild(inputbox);
     this.inputbox = inputbox;
+    this.inputbox.maxLength = 512;
     
     form.addEvent("submit", function(e) {
       new Event(e).stop();