@@ -400,13 +400,13 @@ $.widget("ui.draggable", $.ui.mouse, {
400
400
pos . top // The absolute mouse position
401
401
+ this . offset . relative . top * mod // Only for relative positioned nodes: Relative offset from element to offset parent
402
402
+ this . offset . parent . top * mod // The offsetParent's offset without borders (offset + border)
403
- - ( $ . browser . safari && $ . browser . version < 526 && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) * mod )
403
+ - ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) * mod )
404
404
) ,
405
405
left : (
406
406
pos . left // The absolute mouse position
407
407
+ this . offset . relative . left * mod // Only for relative positioned nodes: Relative offset from element to offset parent
408
408
+ this . offset . parent . left * mod // The offsetParent's offset without borders (offset + border)
409
- - ( $ . browser . safari && $ . browser . version < 526 && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) * mod )
409
+ - ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) * mod )
410
410
)
411
411
} ;
412
412
@@ -460,14 +460,14 @@ $.widget("ui.draggable", $.ui.mouse, {
460
460
- this . offset . click . top // Click offset (relative to the element)
461
461
- this . offset . relative . top // Only for relative positioned nodes: Relative offset from element to offset parent
462
462
- this . offset . parent . top // The offsetParent's offset without borders (offset + border)
463
- + ( $ . browser . safari && $ . browser . version < 526 && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) )
463
+ + ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) )
464
464
) ,
465
465
left : (
466
466
pageX // The absolute mouse position
467
467
- this . offset . click . left // Click offset (relative to the element)
468
468
- this . offset . relative . left // Only for relative positioned nodes: Relative offset from element to offset parent
469
469
- this . offset . parent . left // The offsetParent's offset without borders (offset + border)
470
- + ( $ . browser . safari && $ . browser . version < 526 && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) )
470
+ + ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) )
471
471
)
472
472
} ;
473
473
0 commit comments