From 6b888adedb3932df8bd7a4c7bc694cbaacc37f78 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 25 May 2016 23:27:51 +0200 Subject: front: Remove some old console.log() remnants KEK --- web/js/nms.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/js/nms.js') diff --git a/web/js/nms.js b/web/js/nms.js index 5602357..ca87f5d 100644 --- a/web/js/nms.js +++ b/web/js/nms.js @@ -511,6 +511,10 @@ function setNightMode(toggle) { * * If you add a configuration setting, use nmsData['config'] as much as * possible. Avoid adding to this function. + * + * FIXME: If anyone has a way to remove the deprecation warnings, either by + * just silencing them or by moving this off the main thread, then go + * ahead and fix it. I don't consider it a real problem, though. */ function getInitialConfig() { $.ajax({ @@ -523,7 +527,6 @@ function getInitialConfig() { nms._public = true; document.body.classList.add("gondul-public"); } else { - console.log("Private"); nms._public = false; document.body.classList.add("gondul-private"); } -- cgit v1.2.3