Skip to content

Commit 192d96f

Browse files
Accidentally a ;
Also fix Unnecessary use of boolean literals in conditional expression. Co-authored-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: Adam Warner <me@adamwarner.co.uk>
1 parent d328f14 commit 192d96f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/js/settings-dns-records.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ function populateDataTable(endpoint) {
104104
const button = document.createElement("button");
105105

106106
// Set button ID and add CSS classes
107-
button.id = `delete${endpoint}${utils.hexEncode(data)}`
107+
button.id = `delete${endpoint}${utils.hexEncode(data)}`;
108108
button.classList.add("btn", "btn-danger", "btn-xs");
109109

110110
// Set data-* attributes
111111
button.dataset.type = endpoint;
112112
button.dataset.tag = data;
113113

114114
// Disable the button if set by environment variables
115-
button.disabled = setByEnv ? true : false;
115+
button.disabled = setByEnv;
116116

117117
// Add a trash icon to the button
118118
const iconSpan = document.createElement("span");

0 commit comments

Comments
 (0)