[design] change search result view when no bookmarks are added

This commit is contained in:
zombieFox 2020-04-11 14:47:27 +01:00
parent 1c0a499944
commit 887864e55c
5 changed files with 10 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.7.1",
"version": "5.8.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.7.1",
"version": "5.8.0",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js",
"scripts": {

View File

@ -1392,7 +1392,12 @@ var link = (function() {
make.bookmarks();
};
} else {
make.empty.bookmarks();
// if searching
if (state.get.current().search) {
make.empty.search();
} else {
make.empty.bookmarks();
};
};
};

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "5.7.1";
var current = "5.8.0";
var name = "Zonked Tarsier";

View File

@ -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.7.1",
"version": "5.8.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"