Default the AJAX spinner to hidden. Increase the time threshold needed to trigger the AJAX spiiner.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-12 13:45:53 -04:00
parent e51a1a93d0
commit 732d275ec1
2 changed files with 2 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ class MayanApp {
setTimeout(
function () {
self.callbackAJAXSpinnerUpdate();
}, 250
}, 350
);
});

View File

@@ -29,7 +29,7 @@
{% block stylesheets %}{% endblock %}
</head>
<body>
<div class="hidden-xs hidden-sm" id="ajax-spinner"></div>
<div class="hidden-xs hidden-sm" id="ajax-spinner" style="display: none;"></div>
{% if appearance_type == 'plain' %}
{% block content_plain %}{% endblock %}
{% else %}