Skip to content

Commit

Permalink
[fix] Fixed topology history JS #169
Browse files Browse the repository at this point in the history
Fixed issue caused by the previous unpublished topology fix.
Related to #169
  • Loading branch information
nemesifier authored Nov 24, 2023
1 parent 59331f4 commit d150127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.initTopologyHistory = function ($) {
datepicker.datepicker('setDate', today);
datepicker.change(function () {
var date = datepicker.val().split('/').reverse().join('-'),
url = apiUrl + '?date=' + date;
url = apiUrl + '&date=' + date;
// load latest data when looking currentDate
if (datepicker.datepicker('getDate').getTime() === today.getTime()) {
url = window.__njg_default_url__;
Expand Down

0 comments on commit d150127

Please sign in to comment.