FIX: Remove `attributes` observer, doesn't work in FF/Safari

This commit is contained in:
Robin Ward 2015-09-16 15:36:12 -04:00
parent 97b608f090
commit 2546ca3c8e
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ export default Ember.Component.extend({
_watchSizeChanges() { _watchSizeChanges() {
if (mutationSupport) { if (mutationSupport) {
this._observer.disconnect(); this._observer.disconnect();
this._observer.observe(this.element, { childList: true, subtree: true, attributes: true }); this._observer.observe(this.element, { childList: true, subtree: true });
} else { } else {
clearInterval(this._resizeInterval); clearInterval(this._resizeInterval);
this._resizeInterval = setInterval(() => { this._resizeInterval = setInterval(() => {