From ce4877e21882ddc2f5bdae5ab0768f02a32f6e84 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 3 Feb 2017 14:42:30 -0600 Subject: fix Vue warnings for missing element --- app/assets/javascripts/boards/boards_bundle.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/boards/boards_bundle.js.es6 b/app/assets/javascripts/boards/boards_bundle.js.es6 index 1053d167131..e3241974e59 100644 --- a/app/assets/javascripts/boards/boards_bundle.js.es6 +++ b/app/assets/javascripts/boards/boards_bundle.js.es6 @@ -78,7 +78,7 @@ $(() => { }); gl.IssueBoardsSearch = new Vue({ - el: '#js-boards-search', + el: document.getElementById('js-boards-search'), data: { filters: Store.state.filters }, @@ -89,7 +89,7 @@ $(() => { gl.IssueBoardsModalAddBtn = new Vue({ mixins: [gl.issueBoards.ModalMixins], - el: '#js-add-issues-btn', + el: document.getElementById('js-add-issues-btn'), data: { modal: ModalStore.store, store: Store.state, -- cgit v1.2.1