mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-10 16:08:12 +01:00
[bug] fix new bookmark modal help text disable state not changing
This commit is contained in:
parent
90f103ca13
commit
0ea6147849
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.5.2",
|
||||
"version": "5.5.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.5.2",
|
||||
"version": "5.5.3",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1194,9 +1194,21 @@ var link = (function() {
|
||||
}, false);
|
||||
displayLetterRadio.addEventListener("change", function(event) {
|
||||
stagedLink.link.display = this.value;
|
||||
displayLetterInput.removeAttribute("disabled");
|
||||
displayIconInput.setAttribute("disabled", "");
|
||||
helper.addClass(displayIconFormGroupText, "disabled");
|
||||
helper.addClass(displayIconHelperItem, "disabled");
|
||||
displayIconFormGroupClear.setAttribute("disabled", "");
|
||||
displayIconFormGroupText.tabIndex = -1;
|
||||
}, false);
|
||||
displayIconRadio.addEventListener("change", function(event) {
|
||||
stagedLink.link.display = this.value;
|
||||
displayLetterInput.setAttribute("disabled", "");
|
||||
displayIconInput.removeAttribute("disabled");
|
||||
helper.removeClass(displayIconFormGroupText, "disabled");
|
||||
helper.removeClass(displayIconHelperItem, "disabled");
|
||||
displayIconFormGroupClear.removeAttribute("disabled");
|
||||
displayIconFormGroupText.tabIndex = 1;
|
||||
}, false);
|
||||
displayLetterInput.addEventListener("input", function(event) {
|
||||
stagedLink.link.letter = this.value;
|
||||
@ -1242,22 +1254,6 @@ var link = (function() {
|
||||
};
|
||||
displayIconInput.value = "";
|
||||
}, false);
|
||||
displayLetterRadio.addEventListener("change", function(event) {
|
||||
displayLetterInput.removeAttribute("disabled");
|
||||
displayIconInput.setAttribute("disabled", "");
|
||||
helper.addClass(displayIconFormGroupText, "disabled");
|
||||
helper.addClass(displayIconHelper, "disabled");
|
||||
displayIconFormGroupClear.setAttribute("disabled", "");
|
||||
displayIconFormGroupText.tabIndex = -1;
|
||||
}, false);
|
||||
displayIconRadio.addEventListener("change", function(event) {
|
||||
displayLetterInput.setAttribute("disabled", "");
|
||||
displayIconInput.removeAttribute("disabled");
|
||||
helper.removeClass(displayIconFormGroupText, "disabled");
|
||||
helper.removeClass(displayIconHelper, "disabled");
|
||||
displayIconFormGroupClear.removeAttribute("disabled");
|
||||
displayIconFormGroupText.tabIndex = 1;
|
||||
}, false);
|
||||
autoSuggest.bind.input({
|
||||
input: displayIconInput,
|
||||
type: "fontawesomeIcon",
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "5.5.2";
|
||||
var current = "5.5.3";
|
||||
|
||||
var name = "Zonked Tarsier";
|
||||
|
||||
|
@ -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.5.2",
|
||||
"version": "5.5.3",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user