-
-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
I get "Unclosed string at position" with this valid JS code. Pls fix
$(element).append(
'\
<nobr>\
<a data-title="' +
window.getTranslation("asc_order") +
'" href="' +
window.location.href.split("?")[0] +
updateQueryString({
s: $(element).data("sort"),
d: "ASC"
}) +
'" class="sort-up"><span style="color: var(--icons)" class="font-awesome-solid-ttf"></span></a>\
<a data-title="' +
window.getTranslation("desc_order") +
'" href="' +
window.location.href.split("?")[0] +
updateQueryString({
s: $(element).data("sort"),
d: "DESC"
}) +
'" class="sort-down"><span style="color: var(--icons)" class="font-awesome-solid-ttf"></span></a>\
</nobr>\
'
);
Metadata
Metadata
Assignees
Labels
No labels