mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-23 08:33:38 +01:00
[bug] fix link visual icon update
This commit is contained in:
parent
ce68335117
commit
778a86a1dc
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.37.2",
|
||||
"version": "5.37.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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": {
|
||||
|
@ -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;
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "5.37.2";
|
||||
var current = "5.37.3";
|
||||
|
||||
var name = "Zonked Tarsier";
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user