From b2f951a2695e96d12b58b9cb56a5cb7b2025627b Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 19 Aug 2020 15:12:55 +0800 Subject: [PATCH] Remove duplicate code --- src/webui/www/private/views/preferences.html | 1 - 1 file changed, 1 deletion(-) diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html index cc2d81d08..5a0689b34 100644 --- a/src/webui/www/private/views/preferences.html +++ b/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', max_ratio); - settings.set('max_ratio_act', $('max_ratio_act').getProperty('value').toInt()); let max_seeding_time = -1; if ($('max_seeding_time_checkbox').getProperty('checked')) {