mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-12-01 04:23:27 +01:00
[bug] fix link item order control dependency
This commit is contained in:
parent
8d89735e6d
commit
cbbfcaaadd
@ -2764,6 +2764,8 @@ var control = (function() {
|
|||||||
helper.e("[for=control-link-item-name-size]").setAttribute("disabled", "");
|
helper.e("[for=control-link-item-name-size]").setAttribute("disabled", "");
|
||||||
helper.e(".control-link-item-name-size").disabled = true;
|
helper.e(".control-link-item-name-size").disabled = true;
|
||||||
helper.e(".control-link-item-name-size-default").disabled = true;
|
helper.e(".control-link-item-name-size-default").disabled = true;
|
||||||
|
helper.e(".control-link-item-order-displayname").disabled = true;
|
||||||
|
helper.e(".control-link-item-order-namedisplay").disabled = true;
|
||||||
helper.e(".control-link-item-url-show").disabled = true;
|
helper.e(".control-link-item-url-show").disabled = true;
|
||||||
helper.e(".control-link-item-line-show").disabled = true;
|
helper.e(".control-link-item-line-show").disabled = true;
|
||||||
helper.e(".control-link-item-hoverscale").disabled = true;
|
helper.e(".control-link-item-hoverscale").disabled = true;
|
||||||
@ -2839,6 +2841,10 @@ var control = (function() {
|
|||||||
helper.e(".control-link-item-display-alignment-bottomcenter").disabled = false;
|
helper.e(".control-link-item-display-alignment-bottomcenter").disabled = false;
|
||||||
helper.e(".control-link-item-display-alignment-bottomright").disabled = false;
|
helper.e(".control-link-item-display-alignment-bottomright").disabled = false;
|
||||||
};
|
};
|
||||||
|
if (state.get().link.item.display.show && state.get().link.item.name.show) {
|
||||||
|
helper.e(".control-link-item-order-displayname").disabled = false;
|
||||||
|
helper.e(".control-link-item-order-namedisplay").disabled = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
var _theme = function() {
|
var _theme = function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "3.30.0";
|
var current = "3.30.1";
|
||||||
|
|
||||||
var compare = function(a, b) {
|
var compare = function(a, b) {
|
||||||
var pa = a.split(".");
|
var pa = a.split(".");
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"short_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.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"version": "3.30.0",
|
"version": "3.30.1",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Loading…
Reference in New Issue
Block a user