|
|
@ -553,7 +553,7 @@ var ResizeObserver = window.ResizeObserver || ResizeObserverPolyfill.ResizeObser |
|
|
|
if (!element.__resizeObserver__) { |
|
|
|
if (!element.__resizeObserver__) { |
|
|
|
var resizeObserver = new ResizeObserver(function () { |
|
|
|
var resizeObserver = new ResizeObserver(function () { |
|
|
|
element.__resizeListeners__.forEach(function (listener) { |
|
|
|
element.__resizeListeners__.forEach(function (listener) { |
|
|
|
listener(); |
|
|
|
BI.$(element).is(":visible") && listener(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
resizeObserver.observe(element); |
|
|
|
resizeObserver.observe(element); |
|
|
|