Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unused positional argument to hide_toolbar()
hide_toolbar() does not take any arguments since
6d16e08.
  • Loading branch information
jdufresne committed Oct 17, 2020
commit ebe37b41ff9d30be6857b873ee718de8a12b8f8d
4 changes: 2 additions & 2 deletions debug_toolbar/static/debug_toolbar/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const djdt = {
.getElementById("djHideToolBarButton")
.addEventListener("click", function (event) {
event.preventDefault();
djdt.hide_toolbar(true);
djdt.hide_toolbar();
});
document
.getElementById("djShowToolBarButton")
Expand Down Expand Up @@ -227,7 +227,7 @@ const djdt = {
if (toolbar.querySelector("li.djdt-active")) {
djdt.hide_panels();
} else {
djdt.hide_toolbar(true);
djdt.hide_toolbar();
}
}
},
Expand Down