mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:24:55 +00:00
FIX: Remove attributes
observer, doesn't work in FF/Safari
This commit is contained in:
parent
97b608f090
commit
2546ca3c8e
@ -127,7 +127,7 @@ export default Ember.Component.extend({
|
||||
_watchSizeChanges() {
|
||||
if (mutationSupport) {
|
||||
this._observer.disconnect();
|
||||
this._observer.observe(this.element, { childList: true, subtree: true, attributes: true });
|
||||
this._observer.observe(this.element, { childList: true, subtree: true });
|
||||
} else {
|
||||
clearInterval(this._resizeInterval);
|
||||
this._resizeInterval = setInterval(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user