Skip to content

Commit 8ba922d

Browse files
committed
Export getDebugElement utility javascript function.
This was lost in a merge when utiliting esupgrade and incorporating new changes.
1 parent dee5354 commit 8ba922d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • debug_toolbar/static/debug_toolbar/js

debug_toolbar/static/debug_toolbar/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const $$ = {
7777
* is being selected. A fixed reference to the element should be avoided
7878
* because the entire DOM could be reloaded such as via HTMX boosting.
7979
*/
80-
function getDebugElement() {
80+
export function getDebugElement() {
8181
let root = document.getElementById("djDebugRoot");
8282
if (root.shadowRoot) {
8383
root = root.shadowRoot;

0 commit comments

Comments
 (0)