Skip to content

Commit

Permalink
Merge pull request #182 from jkowalleck/fix_webUI_settingsStorage
Browse files Browse the repository at this point in the history
fixed web UI settings storage
  • Loading branch information
jkowalleck authored Dec 20, 2019
2 parents e125da0 + 80a9a6a commit 7d43ef7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

## Unreleased


## 2.2.1

### Fix

* fixed web UI settings storage.


## 2.2.0

### Breaking changes
Expand Down
3 changes: 0 additions & 3 deletions nichtparasoup/webserver/htdocs/static/js/feel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@
},
"set": function (int, bit) {
var r = int | this.gen(bit);
// log("BS set", int, bit, "->", r);
return r;
},
"unset": function (int, bit) {
var r = this.check(int, bit) ? int ^ this.gen(bit) : int;
// log("BS unset", int, bit, "->", r);
return r;
}
};
Expand Down Expand Up @@ -209,7 +207,6 @@
np._optionsStorage = {
target: "np_store",
save: function () {
log("options saved");
localStorage.setItem(this.target, JSON.stringify(np._options));
},
load: function () {
Expand Down
2 changes: 0 additions & 2 deletions nichtparasoup/webserver/htdocs/static/js/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ window.helperFuncs = {

noop: function () { }, // no operation

log: function () { }, // in case we forget to strip a log

addEvent: function (obj, event, fn, capture) {
"use strict";
if (!obj) { return; }
Expand Down

0 comments on commit 7d43ef7

Please sign in to comment.