Fix spinner style in the new settings category

pull/1/head
yflory 7 years ago
parent 02d1f10231
commit e377d606be

@ -98,7 +98,6 @@
} }
} }
.fa { .fa {
display: none;
margin-left: 50px; margin-left: 50px;
} }
} }

@ -326,8 +326,8 @@ define([
var $owned = $(owned); var $owned = $(owned);
var $ok = $owned.find('.fa-check'); var $ok = $owned.find('.fa-check').hide();
var $spinner = $owned.find('.fa-spinner'); var $spinner = $owned.find('.fa-spinner').hide();
$owned.find('input').change(function () { $owned.find('input').change(function () {
$spinner.show(); $spinner.show();
@ -392,8 +392,8 @@ define([
var $expire = $(expire); var $expire = $(expire);
var $ok = $expire.find('.fa-check'); var $ok = $expire.find('.fa-check').hide();
var $spinner = $expire.find('.fa-spinner'); var $spinner = $expire.find('.fa-spinner').hide();
var getValue = function () { var getValue = function () {
if(!parseInt($expire.find('[name="cp-creation-expire"]:checked').val())) { return 0; } if(!parseInt($expire.find('[name="cp-creation-expire"]:checked').val())) { return 0; }
@ -447,8 +447,8 @@ define([
var $div = $(skip); var $div = $(skip);
var $ok = $div.find('.fa-check'); var $ok = $div.find('.fa-check').hide();
var $spinner = $div.find('.fa-spinner'); var $spinner = $div.find('.fa-spinner').hide();
$div.find('input').change(function () { $div.find('input').change(function () {
$spinner.show(); $spinner.show();
@ -504,8 +504,8 @@ define([
var $div = $(skip); var $div = $(skip);
var $ok = $div.find('.fa-check'); var $ok = $div.find('.fa-check').hide();
var $spinner = $div.find('.fa-spinner'); var $spinner = $div.find('.fa-spinner').hide();
$div.find('input').change(function () { $div.find('input').change(function () {
$spinner.show(); $spinner.show();

Loading…
Cancel
Save