Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclosed string at position #145

Open
th3-sh0w3r opened this issue Dec 8, 2023 · 0 comments
Open

Unclosed string at position #145

th3-sh0w3r opened this issue Dec 8, 2023 · 0 comments

Comments

@th3-sh0w3r
Copy link

th3-sh0w3r commented Dec 8, 2023

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">&#61793;</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">&#61792;</span></a>\
    </nobr>\
'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant