We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe272d1 commit d0997c2Copy full SHA for d0997c2
1 file changed
frontend/src/ts/modals/dev-options.ts
@@ -10,6 +10,7 @@ import { toggleUserFakeChartData } from "../test/result";
10
import { toggleCaretDebug } from "../utils/caret";
11
import { getInputElement } from "../input/input-element";
12
import { disableSlowTimerFail } from "../test/test-timer";
13
+import { qsr } from "../utils/dom";
14
15
let mediaQueryDebugLevel = 0;
16
@@ -111,7 +112,7 @@ const modal = new AnimatedModal({
111
112
});
113
114
export function appendButton(): void {
- $("body").prepend(
115
+ qsr("body").prependHtml(
116
`
117
<div id="devButtons">
118
<a class='button configureAPI' href='${envConfig.backendUrl}/configure/' target='_blank' aria-label="Configure API" data-balloon-pos="right"><i class="fas fa-fw fa-server"></i></a>
0 commit comments