From a0ab3864c08f16371b50d0524608303e3a056f8c Mon Sep 17 00:00:00 2001 From: jgen Date: Wed, 23 Apr 2014 23:01:51 -0400 Subject: [PATCH] Push the headers for the chatbox even further down to make sure that jQuery is already loaded. --- ext/chatbox/js/yshout.js | 2 +- ext/chatbox/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/chatbox/js/yshout.js b/ext/chatbox/js/yshout.js index 7aa85963..f54d6dda 100644 --- a/ext/chatbox/js/yshout.js +++ b/ext/chatbox/js/yshout.js @@ -382,7 +382,7 @@ YShout.prototype = { 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); } diff --git a/ext/chatbox/main.php b/ext/chatbox/main.php index 8d52bd6a..7951492d 100644 --- a/ext/chatbox/main.php +++ b/ext/chatbox/main.php @@ -25,7 +25,7 @@ class Chatbox extends Extension { nickname = '{$user->name}'; new YShout({ yPath: '$yPath' }); - ", 500); + ", 5000); // loads the chatbox at the set location $html = "
";