mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-12-25 08:09:05 +01:00
[bug] fix theme custom control tab index not changing in edit mode
This commit is contained in:
parent
05bb5acc6f
commit
d521618883
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nighttab",
|
||||
"version": "4.13.0",
|
||||
"version": "4.13.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nighttab",
|
||||
"version": "4.13.0",
|
||||
"version": "4.13.1",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -2542,6 +2542,7 @@ var control = (function() {
|
||||
path: "theme.custom.edit",
|
||||
type: "checkbox",
|
||||
func: function() {
|
||||
theme.render.custom.tabIndex();
|
||||
render.class();
|
||||
}
|
||||
}, {
|
||||
|
@ -2,7 +2,6 @@ var theme = (function() {
|
||||
|
||||
var _timerFontDisplay = null;
|
||||
var _timerFontUi = null;
|
||||
var _customThemeEdit = false;
|
||||
|
||||
var stagedThemeCustom = {
|
||||
position: {
|
||||
@ -1724,17 +1723,13 @@ var theme = (function() {
|
||||
};
|
||||
},
|
||||
tabIndex: function() {
|
||||
if (_customThemeEdit) {
|
||||
if (state.get.current().theme.custom.edit && state.get.current().menu) {
|
||||
helper.eA(".theme-custom-control-item").forEach(function(arrayItem, index) {
|
||||
if (arrayItem.tabIndex == -2) {
|
||||
arrayItem.tabIndex = 1;
|
||||
};
|
||||
});
|
||||
} else {
|
||||
helper.eA(".theme-custom-control-item").forEach(function(arrayItem, index) {
|
||||
if (arrayItem.tabIndex == 1) {
|
||||
arrayItem.tabIndex = -2;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
@ -1791,6 +1786,7 @@ var theme = (function() {
|
||||
style.check();
|
||||
accent.random();
|
||||
mod.accent.random();
|
||||
mod.custom.close();
|
||||
render.font.display.name();
|
||||
render.font.display.weight();
|
||||
render.font.display.style();
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "4.13.0";
|
||||
var current = "4.13.1";
|
||||
|
||||
var name = "Naughty Goose";
|
||||
|
||||
|
@ -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": "4.13.0",
|
||||
"version": "4.13.1",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user