Skip to content

Commit 760a75e

Browse files
committed
changed '$' to 'jQuery' in case some other parts of WP registered jQuery with noConflict turned on.
1 parent 51d5f74 commit 760a75e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jq_img_lazy_load.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ function jquery_lazy_load_ready() {
2222
$placeholdergif = plugins_url('images/grey.gif', __FILE__);
2323
echo <<<EOF
2424
<script type="text/javascript">
25-
$(document).ready(function($){
26-
$("img").lazyload({
25+
jQuery(document).ready(function($){
26+
jQuery("img").lazyload({
2727
effect:"fadeIn",
2828
placeholder: "$placeholdergif"
2929
});

0 commit comments

Comments
 (0)