[bug] fix link item order control dependency

This commit is contained in:
Kuldeep M 2019-07-03 14:12:26 +01:00
parent 8d89735e6d
commit cbbfcaaadd
3 changed files with 8 additions and 2 deletions

View File

@ -2764,6 +2764,8 @@ var control = (function() {
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-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-line-show").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-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() {

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "3.30.0";
var current = "3.30.1";
var compare = function(a, b) {
var pa = a.split(".");

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": "3.30.0",
"version": "3.30.1",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"