padolsey/jQuery.fn.autoResize — pull request #51 by john-warpdevelopment (2012-02-20 06:29:25+00:00)
Title: Possible solution for #39

As you can see there is an issue here: https://github.com/padolsey/jQuery.fn.autoResize/issues/39

I think the solution for this is adding a null check as it fixed the functionality for me and I was no longer getting any JS errors in my browser with this change.