Skip to content

within if else storeEval executes no matter what in firefox #118

@SondreRopstad

Description

@SondreRopstad

In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met.
Example:
image
Result:
image
image

As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.

When executed on chrome, it works as intended:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions