Fix event variable name

This commit is contained in:
James Wilson 2017-04-25 18:28:57 -05:00
parent bd96af9827
commit d225b9bc3f

View file

@ -1457,7 +1457,7 @@ function initializeUnitsSelector() {
} }
function onDisplayUnitsChanged(e) { function onDisplayUnitsChanged(e) {
var displayUnits = event.target.value; var displayUnits = e.target.value;
// Save display units to local storage // Save display units to local storage
localStorage['displayUnits'] = displayUnits; localStorage['displayUnits'] = displayUnits;
DisplayUnits = displayUnits; DisplayUnits = displayUnits;