window.saveCustomSpeed = function() {
var customSpeedInput = document.getElementById('customSpeedInput');
var velocitySelect = customSpeedInput.value.trim(); // <-- bug
It seems velocitySelect would not be saved to the global variable in this function.
window.saveCustomSpeed = function() {
var customSpeedInput = document.getElementById('customSpeedInput');
var velocitySelect = customSpeedInput.value.trim(); // <-- bug
It seems velocitySelect would not be saved to the global variable in this function.