Browse Source

Fix DHT port setting in Web UI (Closes #952182)

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
c32e651c39
  1. 2
      src/webui/html/preferences_content.html

2
src/webui/html/preferences_content.html

@ -923,7 +923,7 @@ applyPreferences = function() { @@ -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'));

Loading…
Cancel
Save