Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Fail to parse feedback data if it's already an object #7

Closed
JAGFx opened this issue Oct 18, 2019 · 0 comments
Closed

Fail to parse feedback data if it's already an object #7

JAGFx opened this issue Oct 18, 2019 · 0 comments
Labels

Comments

@JAGFx
Copy link
Owner

JAGFx commented Oct 18, 2019

Unexpected token. Replace with

var feedbackData = (feedback instanceof Object )
	? feedback
	: $.parseJSON( feedback );
@JAGFx JAGFx added the bug label Oct 18, 2019
@JAGFx JAGFx closed this as completed in 32c9e56 Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant