Skip to content
This repository was archived by the owner on May 9, 2019. It is now read-only.

Commit 72d918e

Browse files
committed
fix jquery reference bug
1 parent 88ae0b6 commit 72d918e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

views/js.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
<script>
55
var $jQuery = jQuery.noConflict(true);
66
</script>
7+
<?php else: ?>
8+
<script>
9+
var $jQuery = $;
10+
</script>
711
<?php endif; ?>
812
<script>
913
(function($) {

0 commit comments

Comments
 (0)