Skip to content

Commit 49afed1

Browse files
committed
Fix #1337: This should select an ID, not a class after b0ba227
1 parent 192533b commit 49afed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug_toolbar/static/debug_toolbar/js/toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const djdt = {
151151
Object.keys(data).map(function (panelId) {
152152
if (djDebug.querySelector('#'+panelId)) {
153153
djDebug.querySelector('#'+panelId).outerHTML = data[panelId].content;
154-
djDebug.querySelector('.djdt-'+panelId).outerHTML = data[panelId].button;
154+
djDebug.querySelector('#djdt-'+panelId).outerHTML = data[panelId].button;
155155
}
156156
});
157157
});

0 commit comments

Comments
 (0)