Skip to content

Commit

Permalink
Added initial time & time updater to New Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Apr 20, 2021
1 parent c6c616f commit 243385a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
>>> SCRIPT
----------------------------------------------------------------
# Global variables
# Time
# Search bar
# Table
# Head
Expand All @@ -15,7 +16,8 @@ console.time();
# GLOBAL VARIABLES
--------------------------------------------------------------*/

var BOOKMARKS = {},
var TIME = new Date().getTime(),
BOOKMARKS = {},
TAGS = {},
ALL_LOADED = false,
SEARCH = [],
Expand Down Expand Up @@ -69,6 +71,15 @@ TABLE[4].data = {
};


/*--------------------------------------------------------------
# TIME UPDATE
--------------------------------------------------------------*/

setInterval(function() {
TIME += 60000;
}, 60000);


/*--------------------------------------------------------------
# SEARCH BAR
--------------------------------------------------------------*/
Expand Down

0 comments on commit 243385a

Please sign in to comment.