Skip to content
Browse files

If object is hidden do not wrap it!

  • Loading branch information...
1 parent 12b9c96 commit 18c4a1b9b59a6b2d63f0574286407a1e6acbf5fe @AlmogBaku AlmogBaku committed Jan 15, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 jquery.slickwrap.js
View
3 jquery.slickwrap.js
@@ -64,6 +64,9 @@
return;
}
+
+ if($image.css("display")=="none") return; //@AlmogBaku: If object is hidden do not wrap it!
+
/*
* Find the padding all the way around.
*/

0 comments on commit 18c4a1b

Please sign in to comment.
Something went wrong with that request. Please try again.