]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
flashing now more obvious
authorChris Porter <redacted>
Mon, 11 Aug 2014 18:24:52 +0000 (19:24 +0100)
committerChris Porter <redacted>
Mon, 11 Aug 2014 18:24:52 +0000 (19:24 +0100)
css/qui.mcss
js/ui/frontends/qui.js

index fa74b8695e3b111b008c7baac8758b9244921153..82b79caf30b5e7c152da39b628518b51a3a5c206 100644 (file)
@@ -100,7 +100,7 @@ html {
 }
 
 .qwebirc-qui .input-flash {
-  background: #ddffdd;
+  background: #bbffbb;
 }
 
 .qwebirc-qui .input input.mobile-input {
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;