Skip to content

Commit 8b8a10d

Browse files
committed
fixed linting issues
1 parent 7959e96 commit 8b8a10d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/css/ui.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ button#reset-whitelist {
8787
}
8888

8989
.hidden {
90-
display: none !important;
90+
display: none !important; /* stylelint-disable-line declaration-no-important */
9191
}
9292

9393
.center {

src/js/core/ui.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const ui = {
9696
*
9797
* @type {boolean}
9898
*/
99-
showRemoveAllBrokenBookmarksBtn : false,
99+
showRemoveAllBrokenBtn : false,
100100

101101
/**
102102
* boolean, indicates whether the debug output should be shown or not.
@@ -279,10 +279,10 @@ const ui = {
279279
}
280280

281281
if (ui.errors === 0) {
282-
ui.showRemoveAllBrokenBookmarksBtn = false;
282+
ui.showRemoveAllBrokenBtn = false;
283283
}
284284
else {
285-
ui.showRemoveAllBrokenBookmarksBtn = true;
285+
ui.showRemoveAllBrokenBtn = true;
286286
}
287287

288288
if (response.debug.length === 0) {
@@ -309,7 +309,7 @@ const ui = {
309309
ui.showSearchField = false;
310310
ui.showFilterCheckboxes = false;
311311
ui.showRepairAllRedirectsBtn = false;
312-
ui.showRemoveAllBrokenBookmarksBtn = false;
312+
ui.showRemoveAllBrokenBtn = false;
313313
ui.showDebugOutput = false;
314314

315315
ui.buildDuplicatesUi(response.bookmarks);
@@ -367,7 +367,7 @@ const ui = {
367367
elRepairAllRedirects.classList.add('hidden');
368368
}
369369

370-
if (ui.showRemoveAllBrokenBookmarksBtn) {
370+
if (ui.showRemoveAllBrokenBtn) {
371371
elDeleteAllBookmarksWithErrors.classList.remove('hidden');
372372
}
373373
else {

0 commit comments

Comments
 (0)