From 8b698e1b6f7d475439056b89531654b3636b99e1 Mon Sep 17 00:00:00 2001 From: jgen Date: Sun, 20 Apr 2014 04:29:11 -0400 Subject: [PATCH] Revert this commit. --- ext/chatbox/js/yshout.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ext/chatbox/js/yshout.js b/ext/chatbox/js/yshout.js index be4fb4b9..69f13e2e 100644 --- a/ext/chatbox/js/yshout.js +++ b/ext/chatbox/js/yshout.js @@ -374,13 +374,12 @@ YShout.prototype = { if (!$.browser.safari) return; var same = []; - for (var i = 0; i < this.p.length; i++) { + for (var i = 0; i < this.p.length; i++) if (this.p[i].adminInfo.ip == ip) same.push(this.p[i]); - } - - for (var j = 0; j < same.length; j++) { - $('#' + same[j].id).fadeTo(this.animSpeed, 0.8).fadeTo(this.animSpeed, 1); + + for (var i = 0; i < same.length; i++) { + $('#' + same[i].id).fadeTo(this.animSpeed, .8).fadeTo(this.animSpeed, 1); } },