Skip to content

Commit

Permalink
not lazyloading on iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Y Ng committed Apr 7, 2010
1 parent c1605e0 commit c9af37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jq_img_lazy_load.php
Expand Up @@ -4,7 +4,7 @@
Plugin Name: jQuery lazy load plugin
Plugin URI: http://github.com/ayn/wp-jquery-lazy-load/
Description: a quick and dirty wordpress plugin to enable image lazy loading.
Version: v0.9
Version: v0.10
Author: Andrew Ng
Author URI: http://blog.andrewng.com
*/
Expand All @@ -23,6 +23,7 @@ function jquery_lazy_load_ready() {
echo <<<EOF
<script type="text/javascript">
jQuery(document).ready(function($){
if (navigator.platform == "iPad") return;
jQuery("img").lazyload({
effect:"fadeIn",
placeholder: "$placeholdergif"
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Expand Up @@ -3,7 +3,7 @@ Contributors: ayn
Tags: images, jquery, javascript, optimization
Requires at least: 2.8
Tested up to: 2.9.2
Stable tag: 0.9
Stable tag: 0.10

add jquery lazy loading to images

Expand Down

0 comments on commit c9af37f

Please sign in to comment.