From: <th...@us...> - 2008-11-28 23:24:22
|
Revision: 18959 http://gallery.svn.sourceforge.net/gallery/?rev=18959&view=rev Author: thumb70 Date: 2008-11-28 23:24:13 +0000 (Fri, 28 Nov 2008) Log Message: ----------- Use .width() instead of .innerWidth(). Now photo resize works in IE 7. Modified Paths: -------------- gallery3/trunk/themes/default/jquery/jquery.ui.init.js Modified: gallery3/trunk/themes/default/jquery/jquery.ui.init.js =================================================================== --- gallery3/trunk/themes/default/jquery/jquery.ui.init.js 2008-11-28 22:06:26 UTC (rev 18958) +++ gallery3/trunk/themes/default/jquery/jquery.ui.init.js 2008-11-28 23:24:13 UTC (rev 18959) @@ -10,8 +10,8 @@ * Reset width of sized photos wider than their * parent container so that they fit */ - if ($("#gItem").innerWidth()) { - var containerWidth = $("#gItem").innerWidth(); + if ($("#gItem").width()) { + var containerWidth = $("#gItem").width(); var oPhoto = $("#gItem img").filter(function() { return this.id.match(/gPhotoID-/); }) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |