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

View File

@ -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(() => {