Skip to content

Commit

Permalink
removed duplicate global var #80
Browse files Browse the repository at this point in the history
  • Loading branch information
mondoboia committed Nov 4, 2022
1 parent 8ca8d05 commit fe9c0fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions static/js/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var checked_filters;
var markers;
var allMarkers;
var sidebar;
var sidebar, map;
var myScatterChart;
addEventListener("DOMContentLoaded", function () {
if (Object.getOwnPropertyNames(datastory_data).length > 0) { colorSwitch(datastory_data.color_code[0], datastory_data.color_code[1]); }
Expand Down Expand Up @@ -465,8 +465,6 @@ const addQueryField = (name, idx) => {
afterElement.insertAdjacentHTML('beforebegin', content);
}

var sidebar, map;

// preview content
$(function () {
const update = function () {
Expand Down

0 comments on commit fe9c0fd

Please sign in to comment.