Fix updater's custom settings. God damnit aeosynth.
This commit is contained in:
parent
97afb70fb1
commit
d916e03df6
@ -1566,7 +1566,7 @@
|
|||||||
checkbox = config.updater.checkbox;
|
checkbox = config.updater.checkbox;
|
||||||
for (name in checkbox) {
|
for (name in checkbox) {
|
||||||
title = checkbox[name][1];
|
title = checkbox[name][1];
|
||||||
checked = checkbox[name] ? 'checked' : '';
|
checked = conf[name] ? 'checked' : '';
|
||||||
html += "<div><label title='" + title + "'>" + name + "<input name='" + name + "' type=checkbox " + checked + "></label></div>";
|
html += "<div><label title='" + title + "'>" + name + "<input name='" + name + "' type=checkbox " + checked + "></label></div>";
|
||||||
}
|
}
|
||||||
checked = conf['Auto Update'] ? 'checked' : '';
|
checked = conf['Auto Update'] ? 'checked' : '';
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
github
|
github
|
||||||
|
- mayhem:
|
||||||
|
- fix updater's custom settings
|
||||||
|
|
||||||
2.16.0
|
2.16.0
|
||||||
- mayhem:
|
- mayhem:
|
||||||
|
|||||||
@ -1272,7 +1272,7 @@ updater =
|
|||||||
{checkbox} = config.updater
|
{checkbox} = config.updater
|
||||||
for name of checkbox
|
for name of checkbox
|
||||||
title = checkbox[name][1]
|
title = checkbox[name][1]
|
||||||
checked = if checkbox[name] then 'checked' else ''
|
checked = if conf[name] then 'checked' else ''
|
||||||
html += "<div><label title='#{title}'>#{name}<input name='#{name}' type=checkbox #{checked}></label></div>"
|
html += "<div><label title='#{title}'>#{name}<input name='#{name}' type=checkbox #{checked}></label></div>"
|
||||||
|
|
||||||
checked = if conf['Auto Update'] then 'checked' else ''
|
checked = if conf['Auto Update'] then 'checked' else ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user