mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Remove attributes observer, doesn't work in FF/Safari
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user