fixed open function problems
This commit is contained in:
parent
22fd6f3981
commit
5b3e71a05a
2
map.html
2
map.html
@ -14,7 +14,7 @@
|
||||
<script src="./res/map/script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button id="back_button" onclick="move('./index.html')">⇽</button>
|
||||
<button id="back_button" onclick="move('./index.html', true)">⇽</button>
|
||||
<div class="imgbox">
|
||||
<img class="center-fit" src="http://207.180.212.190/fht/map.jpg" draggable="false">
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@ function move(url, self)
|
||||
{
|
||||
let parameter = "_blank";
|
||||
|
||||
if (self) parameter = "_self";
|
||||
if (self === true) parameter = "_self";
|
||||
|
||||
open(url, parameter);
|
||||
}
|
@ -15,7 +15,7 @@
|
||||
<title>Fabrika Hrádek Tour</title>
|
||||
</head>
|
||||
<body onload="load_panorama()">
|
||||
<button id="back_button" onclick="move('../index.html')">⇽</button>
|
||||
<button id="back_button" onclick="move('../map.html', true)">⇽</button>
|
||||
<div id="panorama_div">
|
||||
<canvas id="panorama">This browser doesn't seem to support canvas. sorry idk</canvas>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user