Skip to content

Commit

Permalink
Update OpenSeadragon to 4.1.1 and jQuery to 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Apr 1, 2024
1 parent f405870 commit 733fbfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ <h1 id="h1">{{ site.title }}</h1>
</div>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://php.earth/assets/bundle.js"></script>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/openseadragon/4.1.0/openseadragon.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/openseadragon/4.1.1/openseadragon.min.js"></script>
<script src="/dist/bundle.js?{{ site.app.asset_version }}"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function App (locations) {
this.init = function() {
this.viewer = OpenSeadragon({
id: "phplandsmap",
prefixUrl: "https://cdnjs.cloudflare.com/ajax/libs/openseadragon/4.1.0/images/",
prefixUrl: "https://cdnjs.cloudflare.com/ajax/libs/openseadragon/4.1.1/images/",
tileSources: document.getElementById('phplandsmap').getAttribute('data-map-src')+'/map.dzi',
visibilityRatio: 1,
constrainDuringPan: true,
Expand Down

0 comments on commit 733fbfb

Please sign in to comment.