use #no3d hash fragment to disable 3d instead of making it mandatory; v0.2.4

This commit is contained in:
Iris Lightshard 2023-07-28 23:30:48 -06:00
parent 6dbd2a812f
commit 76c217511d
Signed by: nilix
GPG key ID: 3B7FBC22144E6398

View file

@ -149,7 +149,7 @@
<div class="ui_win" id="felt_info"><a href="https://hacklab.nilfm.cc/felt">felt v0.2.3</a> (<a href="https://hacklab.nilfm.cc/felt/raw/main/LICENSE">license</a>) | built with <a href="https://leafletjs.com">leaflet</a> (<a href="https://hacklab.nilfm.cc/felt/raw/main/LEAFLET_LICENSE">license</a>) </div>
</nav>
</body>
<script>L_DISABLE_3D=true;</script>
<script>L_DISABLE_3D = window.location.hash.toLowerCase() === "#no3d";</script>
<script src="./leaflet.js?v=1.9.4" type="text/javascript"></script>
<script src="./util.js?v=0.2.2" type="text/javascript"></script>
<script src="./map.js?v=0.2.2" type="text/javascript"></script>