Skip to content

Commit 270a38d

Browse files
committed
Revert using live events on toolbar button (fixes GH-255 and GH-251).
1 parent 01cd085 commit 270a38d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

debug_toolbar/media/debug_toolbar/js/toolbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ window.djdt = (function(window, document, jQuery) {
101101
subcalls.hide();
102102
}
103103
});
104-
$('#djHideToolBarButton').live('click', function() {
104+
$('#djHideToolBarButton').click(function() {
105105
djdt.hide_toolbar(true);
106106
return false;
107107
});
108-
$('#djShowToolBarButton').live('click', function() {
108+
$('#djShowToolBarButton').click(function() {
109109
djdt.show_toolbar();
110110
return false;
111111
});

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='django-debug-toolbar',
5-
version='0.9.2',
5+
version='0.9.3',
66
description='A configurable set of panels that display various debug information about the current request/response.',
77
long_description=open('README.rst').read(),
88
# Get more strings from http://www.python.org/pypi?:action=list_classifiers

0 commit comments

Comments
 (0)