I am getting the following error in Firefox but not in Chrome:
TypeError: Value can't be converted to a dictionary
The error occurs when clicking on a link defined as
<a onclick="scroll()">bla</a>
when scroll is defined as a function in my page.
I tried googling it but nothing came up.
The Firefox console is telling me that the error is on the first line of the page. Which is blank. Does anyone have any idea what it can be?
Firefox console is telling me it is on line 0 of my page however there is no javascript there.
The problem is the browser using the built in scroll function which I accidentally overrode.
I changed the name of my function and all works correctly:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With