summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-03 14:42:30 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-03 20:21:42 -0600
commitce4877e21882ddc2f5bdae5ab0768f02a32f6e84 (patch)
treeda3d8cb4ce9c6b5082ada768b19a5ac6a09b05ba
parent7039d52349610a625efeafa32898a7763b4dbdb6 (diff)
downloadgitlab-ce-ce4877e21882ddc2f5bdae5ab0768f02a32f6e84.tar.gz
fix Vue warnings for missing element
-rw-r--r--app/assets/javascripts/boards/boards_bundle.js.es64
1 files 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,