Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Merge pull request #34 from raldred/master
Browse files Browse the repository at this point in the history
use active page width instead of document
  • Loading branch information
jtsage committed Feb 1, 2012
2 parents cce8c03 + 8f73fec commit a189b29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/jquery.mobile.simpledialog.js
Expand Up @@ -77,7 +77,7 @@
_orientChange: function(e) {
var self = $(e.currentTarget).data('simpledialog'),
o = self.options,
docWinWidth = $(document).width(),
docWinWidth = $.mobile.activePage.width(),
docWinHeightOffset = $(window).scrollTop(),
docWinHeight = $(window).height(),
pickWinHeight = self.pickerContent.outerHeight(),
Expand All @@ -103,7 +103,7 @@

var self = this,
o = this.options,
docWinWidth = $(document).width(),
docWinWidth = $.mobile.activePage.width(),
docWinHeightOffset = $(window).scrollTop(),
docWinHeight = $(window).height(),
pickWinHeight = self.pickerContent.outerHeight(),
Expand Down Expand Up @@ -296,7 +296,7 @@
_reposition: function() {
var self = this,
o = this.options,
docWinWidth = $(document).width(),
docWinWidth = $.mobile.activePage.width(),
docWinHeightOffset = $(window).scrollTop(),
docWinHeight = $(window).height(),
pickWinHeight = self.pickerContent.outerHeight(),
Expand Down

0 comments on commit a189b29

Please sign in to comment.