OK just updated to the latest script and it shows error on line 976, which is the same line as posted below.
EDIT: My understanding was that if a variable wasn't declared globally it expects it to be defined locally if referenced from within a function, and ranks isn't declared globally at the point the function is first called. It may be that Safari assumes strict mode for scopes?
OK just updated to the latest script and it shows error on line 976, which is the same line as posted below.
EDIT: My understanding was that if a variable wasn't declared globally it expects it to be defined locally if referenced from within a function, and ranks isn't declared globally at the point the function is first called. It may be that Safari assumes strict mode for scopes?