Browse Source

Revert "Windows OS detected added to hide Add Coin Native Mode for Windows"

This reverts commit bbbdafea52.
master
Satinder Grewal 8 years ago
parent
commit
a8b9ffba62
  1. 8
      assets/scripts/dashboard.js
  2. 7
      assets/scripts/login.js

8
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(){

7
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(){

Loading…
Cancel
Save