diff options
Diffstat (limited to 'themes')
-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-/); }) |