8000 Wrapping exception js in Sfjs check and also loading base_js Sfjs if … · symfony/symfony@5fa42f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5fa42f1

Browse files
weaverryannicolas-grekas
authored andcommitted
Wrapping exception js in Sfjs check and also loading base_js Sfjs if needed
1 parent c995f1c commit 5fa42f1

File tree

2 files changed

+237
-236
lines changed

2 files changed

+237
-236
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
them as JavaScript source code. Always use '/*' comments instead
66
of '//' comments to avoid impossible-to-debug side-effects #}
77
8-
if (typeof Sfjs === 'undefined') {
8+
if (typeof Sfjs === 'undefined' || typeof Sfjs.loadToolbar === 'undefined') {
99
Sfjs = (function() {
1010
"use strict";
1111

0 commit comments

Comments
 (0)
0