dklemmt / contao_dk_mmenu

Implementation of mmenu as extension for Contao Open Source CMS
15 stars 16 forks source link

JS Error in 3.0.0-RC1 - SyntaxError: '#' is not a valid selector #35

Closed MacKP closed 5 years ago

MacKP commented 5 years ago

I'm testing the new Version. But i can't figure out why I get the Error: SyntaxError: '#' is not a valid selector. I have testet it in Contao 4.4.40 with and without other JS active. The error is in line 1 of the code (but there is all Code, so i don't think it is usefull).

Any clue why this could happen?

Kind regards

fritzmg commented 5 years ago

You probably did not set a CSS-ID for your mmenu. In its current state it's a mandatory field. I'll see if I can make it optional.

MacKP commented 5 years ago

There is an CSS-ID in the Module and I can see the ID in the frontend Code... When you want to have a look I can give you an Link via slack ^^

Kind regards

MacKP commented 5 years ago

Never mind.. It was an update and some Module had no ID. There was the Problem.

Kind regards