Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ebcc02
)
fix type checking
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 13 Sep 2020 20:57:48 +0000
(22:57 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 13 Sep 2020 20:57:48 +0000
(22:57 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index ec9f35271c0770fdbbd5570da945ff2d5104fe7a..ce3fbfccc91c954c6ef7f0e1d6fcefac5e2edb8b 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-73,7
+73,7
@@
/* get type from localStorage if no default is set */
if (typeof type === "undefined") {
- if (Object.prototype.hasOwnProperty.call(localStorage, key + "_
key
")) {
+ if (Object.prototype.hasOwnProperty.call(localStorage, key + "_
type
")) {
type = localStorage.getItem(key + "_type");
} else {
type = "string";