Skip to content

Business intelligence made simple

Improved naming [skip ci]

Andrew Kane702bc01f3307
diff --git a/app/views/blazer/dashboards/_form.html.erb b/app/views/blazer/dashboards/_form.html.erb
index 9c6f13a9..5124b2a2 100644
--- a/app/views/blazer/dashboards/_form.html.erb
+++ b/app/views/blazer/dashboards/_form.html.erb
@@ -31,7 +31,7 @@
const queriesList = document.getElementById("queries")
const queriesGroup = document.getElementById("queries-group")
- const queryId = document.getElementById("query_id")
+ const querySelect = document.getElementById("query_id")
const actions = document.getElementById("actions")
function addQuery(query) {
@@ -69,7 +69,7 @@
}
})
- $(queryId).selectize({
+ $(querySelect).selectize({
options: queries,
highlight: false,
maxOptions: 100,
@@ -91,7 +91,7 @@
}
})
- show(queryId.closest(".hide"))
+ show(querySelect.closest(".hide"))
show(actions)
Sortable.create(queriesList)