Mercurial > hg > rlgwebd
diff rlgterm.js @ 67:b6a3b26fe0dc
RLG-Web client: some visual improvements.
Hide the debugging messages by default.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Wed, 20 Jun 2012 14:11:57 -0700 |
parents | 57bf0dcd080e |
children | d7eb63cd7a16 |
line wrap: on
line diff
--- a/rlgterm.js Wed Jun 20 11:37:05 2012 -0700 +++ b/rlgterm.js Wed Jun 20 14:11:57 2012 -0700 @@ -731,6 +731,13 @@ } } +function toggledebug() { + if (document.getElementById("debug").style.display != "block") + document.getElementById("debug").style.display = "block"; + else + document.getElementById("debug").style.display = "none"; +} + function debug(level, msg) { if (level < debugSuppress) return;