Skip to content

Commit 6d18309

Browse files
committed
[bug] fix search focus if search is not shown
1 parent 775f1bf commit 6d18309

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-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.75.0",
3+
"version": "5.75.1",
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/search.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ var search = (function(){
126126
};
127127

128128
render.focus=function(){
129-
if(state.get.current().header.search.focus){
129+
if(state.get.current().header.search.show&&state.get.current().header.search.focus){
130130
window.addEventListener("load",function(event){
131131
helper.e(".search-input").focus();
132132
});

‎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.75.0";
3+
varcurrent="5.75.1";
44

55
varname="Jaded Raven";
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.75.0",
5+
"version": "5.75.1",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)