summaryrefslogtreecommitdiffstats
path: root/jquery-impromptu.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery-impromptu.js')
-rw-r--r--jquery-impromptu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery-impromptu.js b/jquery-impromptu.js
index ca0a186..ecb57d3 100644
--- a/jquery-impromptu.js
+++ b/jquery-impromptu.js
@@ -325,7 +325,7 @@
stateObj = $.prompt.options.states[$state.data('jqi-name')],
pos = stateObj? stateObj.position : undefined,
$window = $(window),
- bodyHeight = $.prompt.outerSize($(document.body), true).h,
+ bodyHeight = document.body.scrollHeight, //$.prompt.outerSize($(document.body), true).h,
windowHeight = $(window).height(),
documentHeight = $(document).height(),
height = bodyHeight > windowHeight ? bodyHeight : windowHeight,