Fix persistence of logging in playground.

This commit is contained in:
Neil Fraser
2016-02-29 15:02:05 -08:00
parent 4c542240e2
commit 6eb652cf70
3 changed files with 11 additions and 15 deletions

View File

@@ -89,7 +89,7 @@ function start() {
taChange();
// Restore event logging state.
var state = sessionStorage.getItem('logEvents');
logEvents(Boolean(state));
logEvents(Boolean(Number(state)));
}
function toXml() {