X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=web%2Findex.html;h=e8e0b18c90319f6c4d79d85db1569a454ee6d23d;hp=e6079e2d1b465bfb6cf8d982ac4bd7c2794cbde2;hb=581387dc986b11b4262aea9798c9a2ba50bc94a6;hpb=d3e882e2871e4cb9828bcc33207e55ca9ffea165 diff --git a/web/index.html b/web/index.html index e6079e2d..e8e0b18c 100644 --- a/web/index.html +++ b/web/index.html @@ -1604,7 +1604,7 @@ } // find the proper family of each alarm - var now = new Date().getTime(); + var now = Date.now(); var x; var count_active = 0; var count_all = 0; @@ -2166,7 +2166,7 @@ function notifyForUpdate(force) { versionLog('

checking for updates...

'); - var now = new Date().getTime(); + var now = Date.now(); if(typeof force === 'undefined' || force !== true) { var last = loadLocalStorage('last_update_check');