Skip to content

Commit a9ddd2a

Browse files
committed
Replace $.trim
Signed-off-by: yubiuser <github@yubiuser.dev>
1 parent 154f727 commit a9ddd2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/js/settings-dns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function createRevServerTable() {
283283
const $innerTitle = $(this).find(".dt-column-title");
284284

285285
// If the inner span has no text or HTML, empty the cell entirely
286-
if ($.trim($innerTitle.html()) === "") {
286+
if ($innerTitle.html().trim() === "") {
287287
$(this).closest("th, td").empty();
288288
} else {
289289
// Otherwise, safely strip both wrappers to restore original HTML

0 commit comments

Comments
 (0)