chatbox bugfix

might cause new bugs checking into this now
This commit is contained in:
William Crandell 2015-10-26 11:22:57 -04:00
parent ffac680588
commit 7b8d8c2a2d

View File

@ -14,7 +14,7 @@ class Chatbox extends Extension {
// Adds header to enable chatbox // Adds header to enable chatbox
$root = get_base_href(); $root = get_base_href();
$yPath = make_http("") . "/ext/chatbox/"; $yPath = make_http( $root . "/ext/chatbox/");
$page->add_html_header(" $page->add_html_header("
<script src=\"http://code.jquery.com/jquery-migrate-1.2.1.js\" type=\"text/javascript\"></script> <script src=\"http://code.jquery.com/jquery-migrate-1.2.1.js\" type=\"text/javascript\"></script>
<script src=\"$root/ext/chatbox/js/yshout.js\" type=\"text/javascript\"></script> <script src=\"$root/ext/chatbox/js/yshout.js\" type=\"text/javascript\"></script>
@ -33,4 +33,3 @@ class Chatbox extends Extension {
$page->add_block($chatblock); $page->add_block($chatblock);
} }
} }