]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/frontends/qui.js
flashing now more obvious
[irc/quakenet/qwebirc.git] / js / ui / frontends / qui.js
index a1af4cfd23b642aa1f2c63ed3a0170647eccf676..548c659c6253665b1696f56b576b5df7b3d121d0 100644 (file)
@@ -148,16 +148,12 @@ qwebirc.ui.QUI = new Class({
     var inputbox = new Element("input");
     this.addEvent("signedOn", function() {
       inputbox.placeholder = "type commands here, for example: /JOIN #channel";
-      inputbox.addClass("input-flash");
-      var d = function() {
-        inputbox.removeClass("input-flash");
-      }.delay(250);
-      var d = function() {
-        inputbox.addClass("input-flash");
-      }.delay(500);
-      var d = function() {
-        inputbox.removeClass("input-flash");
-      }.delay(1250);
+      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);
+      var d = function() { inputbox.removeClass("input-flash"); }.delay(1000);
+      var d = function() { inputbox.addClass("input-flash"); }.delay(1250);
+      var d = function() { inputbox.removeClass("input-flash"); }.delay(1750);
     });
     form.appendChild(inputbox);
     this.inputbox = inputbox;