Closed domchristie closed 10 years ago
This checks to see if the given textarea is in the DOM and is visible (by checking if the element has a width or height, as jQuery does)—and only initializes the plugin if those checks pass.
Fixes #29 and #32
Merged and pushed to: http://bgrins.github.io/ExpandingTextareas
@domchristie thanks again!
This checks to see if the given textarea is in the DOM and is visible (by checking if the element has a width or height, as jQuery does)—and only initializes the plugin if those checks pass.
Fixes #29 and #32