diff options
author | Chad Kieffer <chad@2tbsp.com> | 2008-11-28 23:24:13 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2008-11-28 23:24:13 +0000 |
commit | d01010cd1d137caf180d581ee30fe80cac971f5e (patch) | |
tree | d139995407611fcf7599be0e96be68f5f5ad4337 /themes/default/jquery/jquery.ui.init.js | |
parent | a73aade7130ba22ffb434b0f32c6421a7324b237 (diff) |
Use .width() instead of .innerWidth(). Now photo resize works in IE 7.
Diffstat (limited to 'themes/default/jquery/jquery.ui.init.js')
-rw-r--r-- | themes/default/jquery/jquery.ui.init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/jquery/jquery.ui.init.js b/themes/default/jquery/jquery.ui.init.js index 5c159137..97d5f1e3 100644 --- a/themes/default/jquery/jquery.ui.init.js +++ b/themes/default/jquery/jquery.ui.init.js @@ -10,8 +10,8 @@ $("document").ready(function() { * 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-/); }) |