last fix for eslint errors
authorLaurent Mazet <mazet@softndesign.org>
Wed, 6 May 2020 23:45:20 +0000 (01:45 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Wed, 6 May 2020 23:45:20 +0000 (01:45 +0200)
public/trivabble.js

index ca2ad9fe8b60ae529d7eb15514dc934b0e7a46f4..7e8a9c9f16b9c7e93ff49762e14ca6d92126c351 100644 (file)
             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,