Skip to content
Browse files

Merge pull request #2 from AlmogBaku/master

Adding hiding detect
  • Loading branch information...
2 parents 12b9c96 + 18c4a1b commit 2c0d8fb34807bea9f5e9e45a4f8f04a5238237b0 @jasonwyatt committed Jan 21, 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 2c0d8fb

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