Opened this issue 8 years ago · 1 comments
Error: "Cannot read property 'replace' of undefined"
This is happening because its trying to run the regex? Build logic to break out of function chain upon occupied click
Try getting rid of || and moving null conditional to an else if