From 66995938e6cff1b9748f06db1f9ad209a6445b37 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Mon, 21 Jan 2019 18:14:54 +0000 Subject: [PATCH] e --- src/assets/js/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/assets/js/index.js b/src/assets/js/index.js index b8dcdb1c..b13a3be3 100644 --- a/src/assets/js/index.js +++ b/src/assets/js/index.js @@ -19,25 +19,18 @@ const functions = require('./modules/functions.js'); const init = () => { - - // init() gets executed only when the page is fully loaded - functions.setDaytimeMessage(); functions.setRandomBackground(); functions.setRandomQuote(); functions.setTime(); - // set interval to update time every second - let timeInterval = setInterval(functions.setTime, 1000); }; // initialize on page load through a listener - document.addEventListener('DOMContentLoaded', init); // Disable right click - document.oncontextmenu=RightMouseDown; function RightMouseDown() { return false; }