fix: broken js on page prevents working developer panel
This commit is contained in:
parent
c33db4d5b7
commit
43d15ecca1
1 changed files with 6 additions and 2 deletions
|
@ -208,10 +208,14 @@ $(document).ready(function() {
|
||||||
|
|
||||||
|
|
||||||
$(document).ajaxStart(function(){
|
$(document).ajaxStart(function(){
|
||||||
progressImage.removeClass('hidden').css('display', 'inline-block');
|
if (progressImage){
|
||||||
|
progressImage.removeClass('hidden').css('display', 'inline-block');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ajaxStop(function(){
|
$(document).ajaxStop(function(){
|
||||||
progressImage.hide().addClass('hidden');
|
if (progressImage){
|
||||||
|
progressImage.hide().addClass('hidden');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue