From 153a1d772fe35dee855e8b070465777a7e4ae264 Mon Sep 17 00:00:00 2001 From: Gorzas Date: Wed, 10 May 2017 12:52:10 +0200 Subject: [PATCH] Fix md-modal with fixed-footer Close #606 --- addon/components/md-modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/components/md-modal.js b/addon/components/md-modal.js index f7011310..b188074a 100644 --- a/addon/components/md-modal.js +++ b/addon/components/md-modal.js @@ -32,7 +32,7 @@ export default Component.extend(EKMixin, UsesSettings, { modalClassNames: ['modal', 'show'], _modalClassString: computed('modalClassNames.[]', 'isFooterFixed', function() { - const names = this.get('modalClassNames'); + const names = this.get('modalClassNames').slice(0); // copies property if (this.get('isFooterFixed')) { names.push('modal-fixed-footer'); } @@ -58,4 +58,4 @@ export default Component.extend(EKMixin, UsesSettings, { } } -}); \ No newline at end of file +});