code refactor

This commit is contained in:
MaysWind 2018-05-20 22:58:16 +08:00
parent bb41b52917
commit 373ead126a
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
};
var loadOptions = function (type) {
var keys = aria2SettingService.getaria2QuickSettingsAvailableOptions(type);
var keys = aria2SettingService.getAria2QuickSettingsAvailableOptions(type);
if (!keys) {
ariaNgCommonService.showError('Type is illegal!');

View file

@ -43,7 +43,7 @@
return false;
}
},
getaria2QuickSettingsAvailableOptions: function (type) {
getAria2QuickSettingsAvailableOptions: function (type) {
if (type === 'globalSpeedLimit') {
return aria2QuickSettingsAvailableOptions.globalSpeedLimitOptions;
} else {