includes/clientside/static/sliders.js
changeset 779 609e35845ec3
parent 755 9b4cd3ef42f3
child 855 4f7521dd981f
--- a/includes/clientside/static/sliders.js	Sun Dec 21 16:28:00 2008 -0500
+++ b/includes/clientside/static/sliders.js	Sun Dec 21 16:41:03 2008 -0500
@@ -70,8 +70,7 @@
       continue;
     toggler.onclick = function()
     {
-      load_component('jquery');
-      load_component('jquery-ui');
+      load_component(['jquery', 'jquery-ui']);
       
       var mydiv = this.parentNode.nextSibling;
       while ( mydiv.tagName != 'DIV' )