remove loader if ajax has an error
This commit is contained in:
@@ -26,7 +26,8 @@
|
|||||||
// Display loader if we do ajax call
|
// Display loader if we do ajax call
|
||||||
$(document)
|
$(document)
|
||||||
.ajaxStart(function () { $loader.show(); })
|
.ajaxStart(function () { $loader.show(); })
|
||||||
.ajaxStop(function () { $loader.hide(); });
|
.ajaxStop(function () { $loader.hide(); })
|
||||||
|
.ajaxError(function () { $loader.hide(); });
|
||||||
|
|
||||||
// Main Navigation Hover
|
// Main Navigation Hover
|
||||||
$('.nav-main')
|
$('.nav-main')
|
||||||
|
|||||||
Reference in New Issue
Block a user