From e377d606be7860a82a5a7f2e7ecbf60f132c2b43 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 11 Jan 2018 17:15:39 +0100 Subject: [PATCH] Fix spinner style in the new settings category --- www/settings/app-settings.less | 1 - www/settings/inner.js | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/www/settings/app-settings.less b/www/settings/app-settings.less index b6fec0158..187b75da8 100644 --- a/www/settings/app-settings.less +++ b/www/settings/app-settings.less @@ -98,7 +98,6 @@ } } .fa { - display: none; margin-left: 50px; } } diff --git a/www/settings/inner.js b/www/settings/inner.js index 22d4b4be5..eff31a4fa 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -326,8 +326,8 @@ define([ var $owned = $(owned); - var $ok = $owned.find('.fa-check'); - var $spinner = $owned.find('.fa-spinner'); + var $ok = $owned.find('.fa-check').hide(); + var $spinner = $owned.find('.fa-spinner').hide(); $owned.find('input').change(function () { $spinner.show(); @@ -392,8 +392,8 @@ define([ var $expire = $(expire); - var $ok = $expire.find('.fa-check'); - var $spinner = $expire.find('.fa-spinner'); + var $ok = $expire.find('.fa-check').hide(); + var $spinner = $expire.find('.fa-spinner').hide(); var getValue = function () { if(!parseInt($expire.find('[name="cp-creation-expire"]:checked').val())) { return 0; } @@ -447,8 +447,8 @@ define([ var $div = $(skip); - var $ok = $div.find('.fa-check'); - var $spinner = $div.find('.fa-spinner'); + var $ok = $div.find('.fa-check').hide(); + var $spinner = $div.find('.fa-spinner').hide(); $div.find('input').change(function () { $spinner.show(); @@ -504,8 +504,8 @@ define([ var $div = $(skip); - var $ok = $div.find('.fa-check'); - var $spinner = $div.find('.fa-spinner'); + var $ok = $div.find('.fa-check').hide(); + var $spinner = $div.find('.fa-spinner').hide(); $div.find('input').change(function () { $spinner.show();