Skip to content
Permalink
Browse files

Position: Increase scrollbar test div to handle larger scrollbars

Fixes #15106
Closes gh-1811
  • Loading branch information
scottgonzalez committed May 4, 2017
1 parent 0b7246b commit efb1fee02b53c8fc17c3ffe68162f51b583e75f0
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 );

0 comments on commit efb1fee

Please sign in to comment.
You can’t perform that action at this time.