mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-15 00:44:22 +09:00
Fix JS warning about assignment to undeclared variable key
This commit is contained in:
@@ -66,7 +66,7 @@ var SensorsUtil = new Lang.Class({
|
||||
continue;
|
||||
|
||||
let fields = chipsetSensors[sensor];
|
||||
for (key in fields) {
|
||||
for (var key in fields) {
|
||||
if (fields.hasOwnProperty(key) && sensorFilter.test(key)) {
|
||||
let feature = {
|
||||
label: sensor,
|
||||
|
||||
Reference in New Issue
Block a user