From a8efc6b1ef89062a032ab404099b101f503d5ed2 Mon Sep 17 00:00:00 2001 From: Satinder Grewal <grewal.satinder@gmail.com> Date: Sun, 5 Mar 2017 05:07:53 +1300 Subject: [PATCH] BTC Basilisk only, Windows Native Modes disabled --- assets/scripts/login.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/scripts/login.js b/assets/scripts/login.js index 621731d..cc60793 100644 --- a/assets/scripts/login.js +++ b/assets/scripts/login.js @@ -743,16 +743,17 @@ var Login = function() { $('#addcoin_mdl_basilisk_mode_login').prop('checked', true); } if (tmp_coin_val == 'BTC') { - $('#addcoin_mdl_basilisk_mode_login').prop('disabled', false); + $('#addcoin_mdl_basilisk_mode_login').prop('disabled', true); $('#addcoin_mdl_native_mode_login').prop('disabled', true); $('#addcoin_mdl_full_mode_login').prop('disabled', false); - $('#addcoin_mdl_basilisk_mode_login').prop('checked', true); + $('#addcoin_mdl_full_mode_login').prop('checked', true); } }); } var handleAddCoinOSOptions = function() { - if ( navigator.platform == 'Win32' // || navigator.platform == 'MacIntel' + if ( navigator.platform == 'Win32' + // || navigator.platform == 'MacIntel' // || navigator.platform == 'Linux x86_64' || navigator.platform == 'Linux' || navigator.platform == 'Linux i686' ) { // Conditions for Login Add Coin Dialog @@ -788,7 +789,7 @@ var Login = function() { handleCheckLogin(); handleLoginAnotherWallet(); handleAddCoinLoginBtn(); - // handleAddCoinOSOptions(); + handleAddCoinOSOptions(); } }; }();