diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/nms-oplog.js | 2 | ||||
-rw-r--r-- | web/js/nms.js | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/web/js/nms-oplog.js b/web/js/nms-oplog.js index 13cfdbf..372183e 100644 --- a/web/js/nms-oplog.js +++ b/web/js/nms-oplog.js @@ -65,7 +65,7 @@ nmsOplog._updateComments = function(limit,prefix,timefield) { td1.textContent = nmsData['oplog']['oplog'][v][timefield]; td2.textContent = "[" + nmsData['oplog']['oplog'][v]['username'] + "] " + nmsData['oplog']['oplog'][v]['log']; td2.hiddenthing = v; - td2.onclick = function(e){ console.log(e); var x = document.getElementById("searchbox"); var v = e.path[0].hiddenthing; console.log("KEK" + v); x.value = nmsData['oplog']['oplog'][v]['systems']; x.oninput(); } + td2.onclick = function(e){ var x = document.getElementById("searchbox"); var v = e.path[0].hiddenthing; x.value = nmsData['oplog']['oplog'][v]['systems']; x.oninput(); } if (++i == limit) break; } 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"); } |