Yes, if you are just executing a function and not returning anything (as in this click handler), `return;` simply halts execution of the function, as if you reached the end of the function. Nice trick to avoid too many nested ifs or loops.

And you're welcome for the pull request. Great job on on the plugin yourself. I think it's is perfect now ;)