diff --git a/index.html b/index.html
index 77c1dc52..aebfa891 100644
--- a/index.html
+++ b/index.html
@@ -7923,7 +7923,7 @@
-
+
diff --git a/modules/io/export.js b/modules/io/export.js
index 7cd5eccf..8484744b 100644
--- a/modules/io/export.js
+++ b/modules/io/export.js
@@ -240,12 +240,14 @@ async function getMapURL(type, options = {}) {
if (location.hostname && cloneEl.getElementById("oceanicPattern")) {
const el = cloneEl.getElementById("oceanicPattern");
const url = el.getAttribute("href");
- await new Promise(resolve => {
- getBase64(url, base64 => {
- el.setAttribute("href", base64);
- resolve();
+ if (url) {
+ await new Promise(resolve => {
+ getBase64(url, base64 => {
+ el.setAttribute("href", base64);
+ resolve();
+ });
});
- });
+ }
}
// add relief icons
diff --git a/versioning.js b/versioning.js
index d89e3f94..0b40a83e 100644
--- a/versioning.js
+++ b/versioning.js
@@ -1,7 +1,7 @@
"use strict";
// version and caching control
-const version = "1.89.16"; // generator version, update each time
+const version = "1.89.17"; // generator version, update each time
{
document.title += " v" + version;