oak před 2 roky
rodič
revize
8df09bf64e
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 5 2
      hhh_index/js/index.js

+ 5 - 2
hhh_index/js/index.js

@@ -14,7 +14,7 @@ let totalPages = {
 };
 
 window.onload = function () {
-  hhh_user_api();
+  //hhh_user_api();
   // if(screen.width < 900) {
   //    window.location.href = "../index_designerList_mb.html";
   // }
@@ -33,7 +33,10 @@ window.onload = function () {
   //   // renderBanner(result);
   // });
 
-  $('#navbar').load('./hhh_index/template/nav-new.html');
+  //$('#navbar').load('./hhh_index/template/nav-new.html');
+  $('#navbar').load('./hhh_index/template/nav-new.html', function () {
+    hhh_user_api();
+  });
   $('#footer').load('./hhh_index/template/footer.html');
   $('#btn-box').load('./hhh_index/template/button.html');
 };