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