Webui proxy_type bug fix

This commit is contained in:
Oke Atime
2017-01-05 18:43:54 +09:00
committed by sledgehammer999
parent c7884e7621
commit eed3f0559a

View File

@@ -1110,7 +1110,7 @@ applyPreferences = function() {
// Proxy Server
var proxy_type_str = $('peer_proxy_type_select').getProperty('value');
var proxy_type = -1;
var proxy_type = 0;
var proxy_auth_enabled = false;
if(proxy_type_str == "socks5") {
if($('peer_proxy_auth_checkbox').getProperty('checked')) {