[design] stop menu scrolling to the top when opened

This commit is contained in:
zombieFox 2020-04-25 13:08:53 +01:00
parent 7064d48ea7
commit 1ad0c33150
5 changed files with 5 additions and 6 deletions

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.25.2",
"version": "5.26.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

@ -194,7 +194,7 @@ var menu = (function() {
render.tab.tabindex();
render.subnav.active();
render.subnav.tabindex();
render.nav.scroll(name);
render.nav.scroll();
};
var open = function() {
@ -207,7 +207,6 @@ var menu = (function() {
render.tab.tabindex();
render.subnav.active();
render.subnav.tabindex();
render.nav.scroll(name);
bind.focus.add();
shade.open({
action: function() {

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "5.25.2";
var current = "5.26.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.25.2",
"version": "5.26.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"