@@ -887,13 +887,13 @@ $.widget("ui.sortable", $.ui.mouse, {
887
887
pos . top // The absolute mouse position
888
888
+ this . offset . relative . top * mod // Only for relative positioned nodes: Relative offset from element to offset parent
889
889
+ this . offset . parent . top * mod // The offsetParent's offset without borders (offset + border)
890
- - ( $ . browser . safari && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) * mod )
890
+ - ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) * mod )
891
891
) ,
892
892
left : (
893
893
pos . left // The absolute mouse position
894
894
+ this . offset . relative . left * mod // Only for relative positioned nodes: Relative offset from element to offset parent
895
895
+ this . offset . parent . left * mod // The offsetParent's offset without borders (offset + border)
896
- - ( $ . browser . safari && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) * mod )
896
+ - ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) * mod )
897
897
)
898
898
} ;
899
899
@@ -944,14 +944,14 @@ $.widget("ui.sortable", $.ui.mouse, {
944
944
- this . offset . click . top // Click offset (relative to the element)
945
945
- this . offset . relative . top // Only for relative positioned nodes: Relative offset from element to offset parent
946
946
- this . offset . parent . top // The offsetParent's offset without borders (offset + border)
947
- + ( $ . browser . safari && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) )
947
+ + ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollTop ( ) : ( scrollIsRootNode ? 0 : scroll . scrollTop ( ) ) ) )
948
948
) ,
949
949
left : (
950
950
pageX // The absolute mouse position
951
951
- this . offset . click . left // Click offset (relative to the element)
952
952
- this . offset . relative . left // Only for relative positioned nodes: Relative offset from element to offset parent
953
953
- this . offset . parent . left // The offsetParent's offset without borders (offset + border)
954
- + ( $ . browser . safari && this . cssPosition == 'fixed' ? 0 : ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) )
954
+ + ( ( this . cssPosition == 'fixed' ? - this . scrollParent . scrollLeft ( ) : scrollIsRootNode ? 0 : scroll . scrollLeft ( ) ) )
955
955
)
956
956
} ;
957
957
0 commit comments