Skip to content

Comments

Fixes error this issue: Cannot assign to read only property 'onbefore…#1577

Open
Connor-Knabe wants to merge 1 commit intosegment-boneyard:masterfrom
Connor-Knabe:patch-1
Open

Fixes error this issue: Cannot assign to read only property 'onbefore…#1577
Connor-Knabe wants to merge 1 commit intosegment-boneyard:masterfrom
Connor-Knabe:patch-1

Conversation

@Connor-Knabe
Copy link

Fixes
Cannot assign to read only property 'onbeforeunload' of object '#'

#1082

There was another pull request that I don't believe was pulled in. This issue is still present in 3.0.1. Thanks!

onbeforeunload: {
enumerable: true,
writable: false,
writable: true,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should onunload be writable: true as well? L:50?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that onbeforeunload fixed this issue. I wouldn't touch onunload unless that was causing issues as well. Thanks for checking @nramirez!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants