I had to correct my code as it was attempting to call
when orig would usually be null
. My apologies to anyone who had already tried the code: it would have worked but, on Escaping, errors would have appeared in the console.
It's working perfectly now
. If you think there is other important information that could, or should, display in the info-box, let me know.