Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1c595fc

Browse filesBrowse files
committed
[TwigBundle][WebProfilerBundle] Switch to DOMContentLoaded event
1 parent ea4b096 commit 1c595fc
Copy full SHA for 1c595fc

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Bundle/TwigBundle/Resources/views/base_js.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/views/base_js.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
};
526526
})();
527527
528-
Sfjs.addEventListener(window, 'load', function() {
528+
Sfjs.addEventListener(document, 'DOMContentLoaded', function() {
529529
Sfjs.createTabs();
530530
Sfjs.createToggles();
531531
});

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
};
526526
})();
527527
528-
Sfjs.addEventListener(window, 'load', function() {
528+
Sfjs.addEventListener(document, 'DOMContentLoaded', function() {
529529
Sfjs.createTabs();
530530
Sfjs.createToggles();
531531
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.