Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9dea7c

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Wrapping exception js in Sfjs check and also loading base_js Sfjs if needed
2 parents 3bb1ec3 + a76cdec commit c9dea7c

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)