From 600f28f73e13f5351f870833a0fd0dccba51afed Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 7 Jul 2015 16:34:40 -0400 Subject: remember state of certain tools --- js/tool.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/tool.js') diff --git a/js/tool.js b/js/tool.js index 9404b1c..360e79f 100644 --- a/js/tool.js +++ b/js/tool.js @@ -33,6 +33,7 @@ var Checkbox = Tool.extend({ update: function(state){ if (state) this.el.innerHTML = "x " + this.name else this.el.innerHTML = "_ " + this.name + if (this.memorable) { localStorage.setItem("ascii.tools." + this.name, !! state) } } }) -- cgit v1.2.3-70-g09d2