Skip to content

Commit b9fe2dd

Browse files
committed
Merge pull request laravel#2013 from juukie14/master
Conditionally Loading jQuery in profiler template
2 parents c89354f + 55fe018 commit b9fe2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/profiling/template.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@
119119
</ul>
120120
</div>
121121

122-
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
122+
<script>window.jQuery || document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"><\/script>')</script>
123123
<script>{{ file_get_contents(path('sys').'profiling/profiler.js') }}</script>
124124
<!-- /ANBU - LARAVEL PROFILER -->

0 commit comments

Comments
 (0)