From c32e651c392cec998e5aed02beb0e149eda3204c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 12 Mar 2012 20:54:33 +0200 Subject: [PATCH] Fix DHT port setting in Web UI (Closes #952182) --- src/webui/html/preferences_content.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/html/preferences_content.html b/src/webui/html/preferences_content.html index 2f8459b6a..af81a648f 100644 --- a/src/webui/html/preferences_content.html +++ b/src/webui/html/preferences_content.html @@ -923,7 +923,7 @@ applyPreferences = function() { } // Bittorrent settings.set('dht', $('dht_checkbox').getProperty('checked')); - settings.set('dhtSameAsBT', $('DHTPortDiffThanBT_checkbox').getProperty('checked')); + settings.set('dhtSameAsBT', !$('DHTPortDiffThanBT_checkbox').getProperty('checked')); settings.set('dht_port', $('DHTPort_txt').getProperty('value').toInt()); settings.set('pex', $('pex_checkbox').getProperty('checked')); settings.set('lsd', $('lsd_checkbox').getProperty('checked'));