fix plugin loudness value being memorized upon tab change

This commit is contained in:
philippe44
2023-08-28 20:47:52 -07:00
parent 809b55579f
commit 9f170020e2
4 changed files with 7 additions and 7 deletions

View File

@@ -22,8 +22,8 @@
});
}
var ldValue = 0;
this.lastLd = this.lastLd || 0;
var ldValue;
this.lastLd = this.lastLd;
ldValue = Ext.get('pref_loudness').dom.value || 0;
@@ -59,8 +59,8 @@
});
}
var ldValue = 0;
this.lastLd = this.lastLd || 0;
var ldValue;
this.lastLd = this.lastLd;
ldValue = $('pref_loudness').value || 0;