Skip to content

Commit 1ad0c33

Browse files
committed
[design] stop menu scrolling to the top when opened
1 parent 7064d48 commit 1ad0c33

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
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.25.2",
3+
"version": "5.26.0",
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/menu.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ var menu = (function(){
194194
render.tab.tabindex();
195195
render.subnav.active();
196196
render.subnav.tabindex();
197-
render.nav.scroll(name);
197+
render.nav.scroll();
198198
};
199199

200200
varopen=function(){
@@ -207,7 +207,6 @@ var menu = (function(){
207207
render.tab.tabindex();
208208
render.subnav.active();
209209
render.subnav.tabindex();
210-
render.nav.scroll(name);
211210
bind.focus.add();
212211
shade.open({
213212
action: function(){

‎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.25.2";
3+
varcurrent="5.26.0";
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.25.2",
5+
"version": "5.26.0",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)