ReferenceError: on is not defined
-
Hi there!
I’ve noticed an error given at the web.dev analysis that’s related to the plugin. The particular error, which appears under the “Best practices” section, states the following:
ReferenceError: on is not defined at https://pruebas.imthemoisturizer.com/:215:32
I tried deactivating the plugin and testing the website again and the error disappeared, although when the plugin was activated again the error remained.
Here’s the piece of code that’s showing the error, as per the developer tools of the browser:
<script id="wpcp_css_disable_selection" type="text/javascript"> var e = document.getElementsByTagName('body')[0]; if (e) { e.setAttribute('unselectable', on); } </script>
I hope this helps find a solution to the issue, thanks a lot in advance!
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘ReferenceError: on is not defined’ is closed to new replies.