Allow for maxlength of -1
Allow for maxlength of -1

-1 is a valid value for input maxlength (see: https://developer.mozilla.org/en-US/docs/HTML/Element/Input). When jQuery (1.5 at least, perhaps also in later versions) injects an input element into the DOM, Firefox (v20, OSX) sets the maxlength to -1 (unlimited). This caused maskMoney to think that the input was full because it was doing a > check on input.maxlength.

This change checks to see if the maxlength is set to -1 and allows that

oromar/jquery-maskmoney,LucasFaiska/jquery-maskmoney,tobiassodergren/jquery-maskmoney,plentz/jquery-maskmoney,oromar/jquery-maskmoney,elfalem/jquery-maskmoney,tobiassodergren/jquery-maskmoney,DavidBLynch/jquery-maskmoney,jpSimkins/jquery-maskmoney,elfalem/jquery-maskmoney,laborautonomo/jquery-maskmoney,ilovezy/jquery-maskmoney,ilovezy/jquery-maskmoney,LucasFaiska/jquery-maskmoney,gbass84/jquery-maskmoney,fabianormatias/jquery-maskmoney,plentz/jquery-maskmoney,jpSimkins/jquery-maskmoney,gbass84/jquery-maskmoney,laborautonomo/jquery-maskmoney,DavidBLynch/jquery-maskmoney,fabianormatias/jquery-maskmoney