Browse Source

Remove duplicate code

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
b2f951a269
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 1
      src/webui/www/private/views/preferences.html

1
src/webui/www/private/views/preferences.html

@ -2115,7 +2115,6 @@
} }
settings.set('max_ratio_enabled', $('max_ratio_checkbox').getProperty('checked')); settings.set('max_ratio_enabled', $('max_ratio_checkbox').getProperty('checked'));
settings.set('max_ratio', max_ratio); settings.set('max_ratio', max_ratio);
settings.set('max_ratio_act', $('max_ratio_act').getProperty('value').toInt());
let max_seeding_time = -1; let max_seeding_time = -1;
if ($('max_seeding_time_checkbox').getProperty('checked')) { if ($('max_seeding_time_checkbox').getProperty('checked')) {

Loading…
Cancel
Save