aboutsummaryrefslogtreecommitdiffstats
path: root/ui/position.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2017-05-03 13:12:34 -0400
committerScott González <scott.gonzalez@gmail.com>2017-05-04 11:00:59 -0400
commitefb1fee02b53c8fc17c3ffe68162f51b583e75f0 (patch)
tree3c80bf4d5ed831a9199a075e273af015df1ba0e7 /ui/position.js
parent0b7246b6eeadfa9e2696e22f3230f6452f8129dc (diff)
downloadjquery-ui-efb1fee02b53c8fc17c3ffe68162f51b583e75f0.tar.gz
jquery-ui-efb1fee02b53c8fc17c3ffe68162f51b583e75f0.zip
Position: Increase scrollbar test div to handle larger scrollbars
Fixes #15106 Closes gh-1811
Diffstat (limited to 'ui/position.js')
-rw-r--r--ui/position.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/position.js b/ui/position.js
index 2f7fa5f01..3994e9acc 100644
--- a/ui/position.js
+++ b/ui/position.js
@@ -84,9 +84,9 @@ $.position = {
return cachedScrollbarWidth;
}
var w1, w2,
- div = $( "<div " +
- "style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
- "<div style='height:100px;width:auto;'></div></div>" ),
+ div = $( "<div style=" +
+ "'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
+ "<div style='height:300px;width:auto;'></div></div>" ),
innerDiv = div.children()[ 0 ];
$( "body" ).append( div );