From a8b9ffba62df6bfcfd4662ebaba6fd9ef20593f7 Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Tue, 24 Jan 2017 16:42:46 +1300 Subject: [PATCH] Revert "Windows OS detected added to hide Add Coin Native Mode for Windows" This reverts commit bbbdafea52a403990f639fb48419a8a69f7f7c26. --- assets/scripts/dashboard.js | 8 -------- assets/scripts/login.js | 7 ------- 2 files changed, 15 deletions(-) diff --git a/assets/scripts/dashboard.js b/assets/scripts/dashboard.js index 0d7a869..22e48d0 100644 --- a/assets/scripts/dashboard.js +++ b/assets/scripts/dashboard.js @@ -305,14 +305,6 @@ var Dashboard = function() { } var handleWalletWidgetBtns = function() { - var detect_os = navigator.platform; - - if ( detect_os == 'Win32' ) { - $('.style-addcoin-lbl-mdl')[0].removeClass( "form-group col-lg-4 col-md-4 col-sm-6 col-xs-6 style-addcoin-lbl-mdl" ).addClass( "form-group col-lg-6 col-md-6 col-sm-6 col-xs-6 style-addcoin-lbl-mdl" ); - $('.style-addcoin-lbl-mdl')[1].removeClass( "form-group col-lg-4 col-md-4 col-sm-6 col-xs-6 style-addcoin-lbl-mdl" ).addClass( "form-group col-lg-6 col-md-6 col-sm-6 col-xs-6 style-addcoin-lbl-mdl" ); - $('.style-addcoin-lbl-mdl')[0].hide(); - } - $('#addcoin_mdl_native_mode').prop('disabled', true); $('.mdl_addcoin_done_btn').click(function(){ diff --git a/assets/scripts/login.js b/assets/scripts/login.js index fd8ebc5..babd183 100644 --- a/assets/scripts/login.js +++ b/assets/scripts/login.js @@ -748,13 +748,6 @@ var Login = function() { }; var handleAddCoinLoginBtn = function() { - var detect_os = navigator.platform; - - if ( detect_os == 'Win32' ) { - $('.style-addcoin-lbl-mdl-login')[0].removeClass( "form-group col-lg-4 col-md-4 col-sm-6 col-xs-6 style-addcoin-lbl-mdl-login" ).addClass( "form-group col-lg-6 col-md-6 col-sm-6 col-xs-6 style-addcoin-lbl-mdl-login" ); - $('.style-addcoin-lbl-mdl-login')[1].removeClass( "form-group col-lg-4 col-md-4 col-sm-6 col-xs-6 style-addcoin-lbl-mdl-login" ).addClass( "form-group col-lg-6 col-md-6 col-sm-6 col-xs-6 style-addcoin-lbl-mdl-login" ); - $('.style-addcoin-lbl-mdl-login')[0].hide(); - } $('#addcoin_mdl_native_mode_login').prop('disabled', true); $('.mdl_addcoin_done_btn-login').click(function(){