diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-07-07 16:34:40 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-07-07 16:34:40 -0400 |
| commit | 600f28f73e13f5351f870833a0fd0dccba51afed (patch) | |
| tree | 5fd957d6429cd96d105211b32e06a27170a081c0 /js/tool.js | |
| parent | 861b0f4906829c5d83d4f126e2c5f38cd99ee650 (diff) | |
remember state of certain tools
Diffstat (limited to 'js/tool.js')
| -rw-r--r-- | js/tool.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) } } }) |
