From a4502b048193862ba241429959f51559e40beb3d Mon Sep 17 00:00:00 2001 From: razvanaldea89 Date: Fri, 22 Feb 2019 16:34:21 +0200 Subject: [PATCH] page loading progress fix for firefox - final stage of function wasn't working correctly --- build/js/custom.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/js/custom.js b/build/js/custom.js index 4f6056db..b6ae31eb 100644 --- a/build/js/custom.js +++ b/build/js/custom.js @@ -4319,9 +4319,10 @@ $(".bulk_action input").on("ifChecked", function () { $(this).next().slideToggle(200), $expand = $(this).find(">:first-child"), "+" == $expand.text() ? $expand.text("-") : $expand.text("+") }) }), "undefined" != typeof NProgress && ($(document).ready(function () { - NProgress.start() + NProgress.start(); }), $(window).on('load', function () { - NProgress.done() + // setTimeout fix for Firefox + setTimeout(function(){ NProgress.done() },100); })); var originalLeave = $.fn.popover.Constructor.prototype.leave; $.fn.popover.Constructor.prototype.leave = function (a) {