X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/blobdiff_plain/614427b2e93b5c465191ab0fba50d70fb652b00c..09f39d2e45040e8ae0d605baa9deda6fcdccf0c0:/js/ui/frontends/qui.js diff --git a/js/ui/frontends/qui.js b/js/ui/frontends/qui.js index 8f23ecb..eb71d79 100644 --- a/js/ui/frontends/qui.js +++ b/js/ui/frontends/qui.js @@ -100,7 +100,7 @@ qwebirc.ui.QUI = new Class({ this.UICommands.forEach(function(x) { var text = x[0]; - var fn = this[x[1] + "Window"].bind(this); + var fn = x[1]; var e = new Element("a"); e.addEvent("mousedown", function(e) { new Event(e).stop(); }); e.addEvent("click", function() { @@ -141,7 +141,7 @@ qwebirc.ui.QUI = new Class({ var inputbox = new Element("input"); this.addEvent("signedOn", function() { - inputbox.placeholder = "chat here! you can also use commands, like /JOIN or /HELP"; + inputbox.placeholder = "chat here! you can also use commands, like /JOIN"; var d = function() { inputbox.addClass("input-flash"); }.delay(250); var d = function() { inputbox.removeClass("input-flash"); }.delay(500); var d = function() { inputbox.addClass("input-flash"); }.delay(750);