We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f3472 commit cf7bea4Copy full SHA for cf7bea4
index.html
@@ -6,18 +6,16 @@
6
<meta name="viewport" content="width=device-width, initial-scale=1">
7
<link rel="icon" href="./logo/iot_logo.png">
8
<script type="text/javascript" src="./login/iot-user.js"></script>
9
- <script type="text/javascript" src="./js/w3.js"></script>
10
</head>
11
<script type="text/javascript">
12
function iot_onload() {
13
if (iot_is_login() === false) {
14
- document.write('<div w3-include-html="./login/"></div> ');
+ window.location.href = "./login/index.html";
15
}
16
else
17
{
18
- document.write('<div w3-include-html="./main.html"></div>');
+ window.location.href = "./main.html";
19
20
- w3.includeHTML();
21
22
23
if (window.addEventListener)
0 commit comments