]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/frontends/qui.js
Add custom menu items.
[irc/quakenet/qwebirc.git] / js / ui / frontends / qui.js
index 8f23ecbf1c58dd62314a8f286438538b1c10d89e..eb71d79ec99bff881c8eb8a36431a72ae2456b89 100644 (file)
@@ -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);