mimo84/bootstrap-maxlength — pull request #16 by Kosmin (2013-08-08 04:38:30+00:00)
Title: Forced place() to be called on browser resize

If you select an input, the tooltip appears. If you resize the browser, then the tooltip should move with the input, but it doesn't. To fix this, I simply called the place() function on window.resize to force the tooltip to move along with the inputs when the browser is resized.

Notes:
1) if using chrome and @media queries, the page design can change with width. If the ipad screen requires a vertical scrollbar, but the desktop screen doesn't, the browser can get stuck in a continuous media change, which will no longer move the tooltip. I doubt this is too relevant though, since most users won't see this unless they're testing.
2) please check the bootstrap-maxlength.min.js works as expected before pulling (I tested it to work, but verify it just in case)