mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
fix: all settings being set to null or false on startup
This commit is contained in:
@@ -388,7 +388,7 @@ async function init() {
|
||||
setUnifiedPlaylist(arg);
|
||||
break;
|
||||
case "setDownloadType":
|
||||
$('#download-type').val(arg.type).change();
|
||||
$('#download-type').val(arg.type);
|
||||
break;
|
||||
}
|
||||
});
|
||||
@@ -411,7 +411,8 @@ async function init() {
|
||||
});
|
||||
}
|
||||
|
||||
function sendSettings() {
|
||||
async function sendSettings() {
|
||||
await settingExists();
|
||||
let settings = {
|
||||
updateBinary: $('#updateBinary').prop('checked'),
|
||||
updateApplication: $('#updateApplication').prop('checked'),
|
||||
|
||||
Reference in New Issue
Block a user