|
|
@@ -3,7 +3,7 @@
|
|
|
* http://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2012 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 1.0.24
|
|
|
+* Version: 1.0.25
|
|
|
*/
|
|
|
|
|
|
(function ($) {
|
|
|
@@ -965,7 +965,7 @@
|
|
|
if (opts.greedy == true) {
|
|
|
var bfrClone = buffer.slice();
|
|
|
while (getBufferElement(bfrClone, firstUnmaskedPosition, true) != getPlaceHolder(firstUnmaskedPosition) && firstUnmaskedPosition <= p) {
|
|
|
- firstUnmaskedPosition = seekNext(buffer, firstUnmaskedPosition);
|
|
|
+ firstUnmaskedPosition = firstUnmaskedPosition == maskL ? (maskL + 1) : seekNext(buffer, firstUnmaskedPosition);
|
|
|
}
|
|
|
}
|
|
|
|