aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Hudson2008-09-20 11:51:58 -0700
committerRob Hudson2008-09-20 11:51:58 -0700
commit0c2c0ab82d6f848b6083a176f301d72d8bb798d8 (patch)
tree977c2cb081c1ca7c6f0c7dd2a18786755858d36a
parent5a711759e75bfef4788498d9cfaa9fe019bcd15d (diff)
downloaddjango-debug-toolbar-0c2c0ab82d6f848b6083a176f301d72d8bb798d8.tar.bz2
jQuery patch from Alex Gaynor.
-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();
});