owldesign / QARR

Grow your business by allowing visitors to leave reviews or ask a questions.
https://qarr.tools
Other
6 stars 5 forks source link

Make QARR compatible with custom ElementTypes #29

Closed francoislevesque closed 4 years ago

francoislevesque commented 4 years ago

Verify the existence of the type property on the element before accessing it.

owldesign commented 4 years ago

I'll make a small update. Instead of type it will need to be typeId as the type property is actually a method on the element class and always returns false.

Thanks for the pull request!