fixed menu loading
This commit is contained in:
@@ -454,5 +454,8 @@ $(document).ready(function() {
|
||||
$.AdminBSB.select.activate();
|
||||
$.AdminBSB.search.activate();
|
||||
|
||||
setTimeout(function () { $('.page-loader-wrapper').fadeOut(); }, 50);
|
||||
if (window.location.href.substring(window.location.href.lastIndexOf('/') + 1) == "food_court#") {
|
||||
}else{
|
||||
setTimeout(function () { $('.page-loader-wrapper').fadeOut(); }, 50);
|
||||
}
|
||||
});
|
||||
@@ -472,8 +472,9 @@ function getAllMenu(){
|
||||
localStorage.setItem("menus", menus);
|
||||
if (result != null ) {
|
||||
menu_cache_append(result);
|
||||
$( "#loading_wrapper").hide();
|
||||
$("#loading_wrapper").hide();
|
||||
$("#oqs_loading_wrapper").css("display", "none");
|
||||
$(".page-loader-wrapper").css("display", "none");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user