Skip to content

reduce ";}" within java-script blocks. #5

@sxslex

Description

@sxslex

it is not necessary the ";" in the last command of a javascript block

example:

<script>
if(window.location.href.indexOf("?")>-1){alert("no parans");}
</script>

to

<script>if(window.location.href.indexOf("?")>-1){alert("no parans")}</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions