Skip to content

Commit 778a86a

Browse files
committed
[bug] fix link visual icon update
1 parent ce68335 commit 778a86a

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nightTab",
3-
"version": "5.37.2",
3+
"version": "5.37.3",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
55
"main": "index.js",
66
"scripts":{

‎src/js/update.js‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,9 +1011,18 @@ var update = (function(){
10111011
arrayItem.visual={
10121012
display: arrayItem.display,
10131013
letter: arrayItem.letter,
1014-
image: null,
1014+
image: "",
10151015
icon: arrayItem.icon
10161016
};
1017+
if(arrayItem.visual.icon.label==null){
1018+
arrayItem.visual.icon.label="";
1019+
};
1020+
if(arrayItem.visual.icon.name==null){
1021+
arrayItem.visual.icon.name="";
1022+
};
1023+
if(arrayItem.visual.icon.prefix==null){
1024+
arrayItem.visual.icon.prefix="";
1025+
};
10171026
deletearrayItem.display;
10181027
deletearrayItem.letter;
10191028
deletearrayItem.icon;

‎src/js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
varversion=(function(){
22

3-
varcurrent="5.37.2";
3+
varcurrent="5.37.3";
44

55
varname="Zonked Tarsier";
66

‎src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "5.37.2",
5+
"version": "5.37.3",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)