Skip to content

Commit

Permalink
Update sv-panoid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise authored May 26, 2024
1 parent 8d5b1dd commit a3ab304
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/basic/sv-panoid.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ <h2>GoogleStreetViewLoader.load</h2>
window.initialize = initialize;

</script>
<script type="module">
<script type="module" onload="if (ids.length>0) { load(ids[0]); }">
var srv = 'https://script.google.com/macros/s/AKfycbz5br4wnfSGtucWKwGQq1Tb07eshJez6uVaFatn4xJAc_rcrcA/exec';

import { GoogleStreetViewLoader } from "../../src/PanomNom.js";
Expand Down Expand Up @@ -489,7 +489,6 @@ <h2>GoogleStreetViewLoader.load</h2>
const xhttp = new XMLHttpRequest();
xhttp.onload = function() {
document.getElementsByClassName('bookmarklet')[0].href = "javascript:(function(){" + encodeURIComponent(this.responseText) + "})()";
if (ids.length>0) { load(ids[0]); }
}
xhttp.open("GET", "bookmarklet.js");
xhttp.send();
Expand Down

0 comments on commit a3ab304

Please sign in to comment.