aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/console.js
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-15 10:13:50 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-15 10:13:50 +0800
commita9b8b7fd3a70da9e32dee70fba45723f986f6115 (patch)
tree07cf316d3fef0bb2c73198c9be08ff43c1981ee0 /fg21sim/webui/static/js/console.js
parent0ec84f939da1d2da883a4265f4fc92395c00281d (diff)
downloadfg21sim-a9b8b7fd3a70da9e32dee70fba45723f986f6115.tar.bz2
webui: Change log toggle icons opacity according to toggle status
Diffstat (limited to 'fg21sim/webui/static/js/console.js')
-rw-r--r--fg21sim/webui/static/js/console.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/webui/static/js/console.js b/fg21sim/webui/static/js/console.js
index 14e0ad7..3dfd8b0 100644
--- a/fg21sim/webui/static/js/console.js
+++ b/fg21sim/webui/static/js/console.js
@@ -115,6 +115,7 @@ var toggleLogMessages = function (level) {
logbox.data(level, status);
console.log("Toggled", level, "logging messages:",
status ? "show" : "hide");
+ return status;
}
};