Bug in firefox
-
There is a bug in your code in this file:
SyntaxError: invalid increment operand
https://example.com/wp-content/plugins/wp-donottrack/donottrack-min.js?dntver=0.8.3
Line 1The offending code seems to be caused by your minifier? (possibly)
The code is:
(this.id=”ui-id-“+++n)
Javascript interprets this is trying to do a ++ operator on the string which is obviously impossible.
It should read:
(this.id=”ui-id-“+ ++n)
As I believe you are meaning the first plus to APPEND and the next two pluses to increment the n variable.
This broke my plugin in firefox since it meant my functions didn’t get defined – I have advised my client to remove your plugin until you fix it.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug in firefox’ is closed to new replies.