aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debug_toolbar/media/toolbar.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/debug_toolbar/media/toolbar.js b/debug_toolbar/media/toolbar.js
index 21994a9..3da65d2 100644
--- a/debug_toolbar/media/toolbar.js
+++ b/debug_toolbar/media/toolbar.js
@@ -1,5 +1,5 @@
jQuery.noConflict();
-(function(jQuery) {
+jQuery(function() {
jQuery.djDebug = function(data, klass) {
jQuery.djDebug.init();
}
@@ -48,7 +48,8 @@ jQuery.noConflict();
jQuery(document).unbind('keydown.djDebug');
jQuery('.panelContent').hide();
});
-})(jQuery);
-jQuery(document).ready(function() {
+});
+
+jQuery(function() {
jQuery.djDebug();
});