Trim trailing spaces from string values in advanced settings

This commit is contained in:
Raymond Hill 2019-11-20 11:45:10 -05:00
parent 123b939944
commit 68e1b58bb6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
}
break;
case 'string':
out[name] = value;
out[name] = value.trim();
break;
case 'number':
out[name] = parseInt(value, 10);