From 2546ca3c8ee1390deb75548f41279516d87567a3 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 16 Sep 2015 15:36:12 -0400 Subject: [PATCH] FIX: Remove `attributes` observer, doesn't work in FF/Safari --- app/assets/javascripts/discourse/components/menu-panel.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/menu-panel.js.es6 b/app/assets/javascripts/discourse/components/menu-panel.js.es6 index bae297d2e2f..7300b309f91 100644 --- a/app/assets/javascripts/discourse/components/menu-panel.js.es6 +++ b/app/assets/javascripts/discourse/components/menu-panel.js.es6 @@ -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(() => {