Skip to content

Commit

Permalink
Updated Bootstrap to v5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
corbindavenport committed Oct 15, 2021
1 parent 528f363 commit 30b215b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ <h5 class="modal-title" id="photostack-watermark-editor-modal-title"></h5>
<script src="js/jquery.hotkeys.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/FileSaver.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jszip.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localforage.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pica.min.js"></script>
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="sblxtzuush1cfzz"></script>
Expand Down
4 changes: 3 additions & 1 deletion js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ function importFiles(files, element = null) {
var base64 = 'data:image/webp;base64,' + data
} else if (file.name.endsWith('.avif')) {
var base64 = 'data:image/avif;base64,' + data
}
} else if (file.name.endsWith('.jxl')) {
var base64 = 'data:image/jxl;base64,' + data
}
// Once both the reader and image is done, resolve the Promise
image.onload = function () {
// Remove file ending
Expand Down

0 comments on commit 30b215b

Please sign in to comment.