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:
eca9a95
)
last fix for eslint errors
author
Laurent Mazet
<mazet@softndesign.org>
Wed, 6 May 2020 23:45:20 +0000
(
01:45
+0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Wed, 6 May 2020 23:45:20 +0000
(
01:45
+0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index ca2ad9fe8b60ae529d7eb15514dc934b0e7a46f4..7e8a9c9f16b9c7e93ff49762e14ca6d92126c351 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-1531,10
+1531,8
@@
select.remove(i);
}
- for (const key in langName) {
- if (Object.prototype.isPrototypeOf.call(langName, key)) {
- select.add(new Option(_(langName[key]), key));
- }
+ for (const key in langName) {/* eslint-disable-line guard-for-in */
+ select.add(new Option(_(langName[key]), key));
}
Array.prototype.sort.call(select.options,