|
@ -3216,7 +3216,9 @@ $.fn.dropdown = function(parameters) { |
|
|
; |
|
|
; |
|
|
calculations = { |
|
|
calculations = { |
|
|
context: { |
|
|
context: { |
|
|
offset : $context.offset(), |
|
|
|
|
|
|
|
|
offset : ($context.get(0) === window) |
|
|
|
|
|
? { top: 0, left: 0} |
|
|
|
|
|
: $context.offset(), |
|
|
scrollTop : $context.scrollTop(), |
|
|
scrollTop : $context.scrollTop(), |
|
|
height : $context.outerHeight() |
|
|
height : $context.outerHeight() |
|
|
}, |
|
|
}, |
|
@ -3259,7 +3261,9 @@ $.fn.dropdown = function(parameters) { |
|
|
; |
|
|
; |
|
|
calculations = { |
|
|
calculations = { |
|
|
context: { |
|
|
context: { |
|
|
offset : $context.offset(), |
|
|
|
|
|
|
|
|
offset : ($context.get(0) === window) |
|
|
|
|
|
? { top: 0, left: 0} |
|
|
|
|
|
: $context.offset(), |
|
|
scrollLeft : $context.scrollLeft(), |
|
|
scrollLeft : $context.scrollLeft(), |
|
|
width : $context.outerWidth() |
|
|
width : $context.outerWidth() |
|
|
}, |
|
|
}, |
|
|