Uncaught SyntaxError: Unexpected token #
-
Just to report a javascript bug, that needs fixing.
On line 17:
var data = JSON.parse(e.data);
should read:
var data = e.data;The data is already json.
Trying to parse it twice throws an: “Uncaught SyntaxError: Unexpected token #” console error.You could also simplify by just doing:
switch (e.data.event)Thanks
https://www.ads-software.com/extend/plugins/vimeo-channel-gallery/
- The topic ‘Uncaught SyntaxError: Unexpected token #’ is closed to new replies.