File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323
2424$ . ui = $ . ui || { } ;
2525
26- var cachedScrollbarWidth ,
26+ var cachedScrollbarWidth , supportsOffsetFractions ,
2727 max = Math . max ,
2828 abs = Math . abs ,
2929 round = Math . round ,
@@ -236,7 +236,7 @@ $.fn.position = function( options ) {
236236 position . top += myOffset [ 1 ] ;
237237
238238 // if the browser doesn't support fractions, then round for consistent results
239- if ( ! $ . support . offsetFractions ) {
239+ if ( ! supportsOffsetFractions ) {
240240 position . left = round ( position . left ) ;
241241 position . top = round ( position . top ) ;
242242 }
@@ -501,7 +501,7 @@ $.ui.position = {
501501 div . style . cssText = "position: absolute; left: 10.7432222px;" ;
502502
503503 offsetLeft = $ ( div ) . offset ( ) . left ;
504- $ . support . offsetFractions = offsetLeft > 10 && offsetLeft < 11 ;
504+ supportsOffsetFractions = offsetLeft > 10 && offsetLeft < 11 ;
505505
506506 testElement . innerHTML = "" ;
507507 testElementParent . removeChild ( testElement ) ;
You can’t perform that action at this time.
0 commit comments