Error after Exporting Hype Project


(Matt) #1

Hi -
I have a scene with some drag and drop. It works perfectly when I’m previewing the scene. However, after exporting and uploading my project the drag and drop no longer works and I’m getting the following error (the error does not occur during scene preview):

Error in undefined: SyntaxError: Failed to execute ‘querySelector’ on ‘Document’: ‘#3notechords_hype_container > .HYPE_scene[style*=“block”]’ is not a valid selector. HYPE-578.full.min.js:110

Any idea how to correct this?

Thank you!
Matt


(Rick) #2

I can’t help but to make it easier for those who can and want to help, why don’t you ad the document with the error to your post making it that way much easier for them to shift through and find what’s wrong? :slight_smile:


(Matt) #3

The file is too large to upload I’m afraid.


(Mark Hunte) #4

Where and what is the code you are using for the querySelector.

The selector will be what ever you have inside of the brackets. Which the error is telling you it is not valid.

A selector is normally a tag,id or class name.