Fix: loadMaestroID, saveMaestroID
This commit is contained in:
@@ -9,18 +9,12 @@
|
||||
<link rel="stylesheet" type="text/css" href="./../css/color_button.css">
|
||||
|
||||
<script type="text/javascript" src="./../../../resources/jquery/jquery-3.3.1.min.js"></script>
|
||||
<script type="text/javascript" src="./../js/main.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("#home").click(function(event) {
|
||||
console.log("home clicked");
|
||||
})
|
||||
|
||||
$("#header").load("./../module/header.html");
|
||||
$("#section").load("./../module/home_section_faq.html");
|
||||
$("#footer").load("./../module/footer.html");
|
||||
|
||||
console.log("ready");
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
+1
-10
@@ -9,21 +9,12 @@
|
||||
<link rel="stylesheet" type="text/css" href="./../css/color_button.css">
|
||||
|
||||
<script type="text/javascript" src="./../../../resources/jquery/jquery-3.3.1.min.js"></script>
|
||||
<script type="text/javascript" src="./../js/main.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if(sessionStorage.getItem("maestroID") !== null)
|
||||
location.href = './../maestro/main_menu.html';
|
||||
|
||||
$("#home").click(function(event) {
|
||||
console.log("home clicked");
|
||||
})
|
||||
|
||||
$("#header").load("./../module/header.html");
|
||||
$("#section").load("./../module/home_section.html");
|
||||
$("#footer").load("./../module/footer.html");
|
||||
|
||||
console.log("ready");
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user