diff --git a/package-lock.json b/package-lock.json index c22860f4..c96aee62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.37.2", + "version": "5.37.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5bbb7120..567a5484 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.37.2", + "version": "5.37.3", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "main": "index.js", "scripts": { diff --git a/src/js/update.js b/src/js/update.js index 55636c97..b5535958 100644 --- a/src/js/update.js +++ b/src/js/update.js @@ -1011,9 +1011,18 @@ var update = (function() { arrayItem.visual = { display: arrayItem.display, letter: arrayItem.letter, - image: null, + image: "", icon: arrayItem.icon }; + if (arrayItem.visual.icon.label == null) { + arrayItem.visual.icon.label = ""; + }; + if (arrayItem.visual.icon.name == null) { + arrayItem.visual.icon.name = ""; + }; + if (arrayItem.visual.icon.prefix == null) { + arrayItem.visual.icon.prefix = ""; + }; delete arrayItem.display; delete arrayItem.letter; delete arrayItem.icon; diff --git a/src/js/version.js b/src/js/version.js index 50af930e..07e615f4 100644 --- a/src/js/version.js +++ b/src/js/version.js @@ -1,6 +1,6 @@ var version = (function() { - var current = "5.37.2"; + var current = "5.37.3"; var name = "Zonked Tarsier"; diff --git a/src/manifest.json b/src/manifest.json index 06be7035..b0b77673 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "nightTab", "short_name": "nightTab", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", - "version": "5.37.2", + "version": "5.37.3", "manifest_version": 2, "chrome_url_overrides": { "newtab": "index.html"