Skip to content

Commit dbebd08

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 46c901e commit dbebd08

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

debug_toolbar/static/debug_toolbar/js/toolbar.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { $$, getDebugElement, ajax, debounce, replaceToolbarState } from "./utils.js";
1+
import {
2+
$$,
3+
ajax,
4+
debounce,
5+
getDebugElement,
6+
replaceToolbarState,
7+
} from "./utils.js";
28

39
function onKeyDown(event) {
410
if (event.keyCode === 27) {
@@ -287,8 +293,7 @@ const djdt = {
287293
window.removeEventListener("resize", djdt.ensureHandleVisibility);
288294
},
289295
updateOnAjax() {
290-
const sidebarUrl =
291-
getDebugElement().dataset.sidebarUrl;
296+
const sidebarUrl = getDebugElement().dataset.sidebarUrl;
292297
const slowjax = debounce(ajax, 200);
293298

294299
function handleAjaxResponse(requestId) {

0 commit comments

Comments
 (0)