|
|
@@ -3,7 +3,7 @@ Input Mask plugin for jquery
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 0.1.4
|
|
|
+Version: 0.1.5
|
|
|
|
|
|
This plugin is based on the masked input plugin written by Josh Bush (digitalbush.com)
|
|
|
*/
|
|
|
@@ -283,8 +283,8 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
|
|
|
input.bind("focus", function() {
|
|
|
input.addClass('focus');
|
|
|
undoBuffer = _val.call(input);
|
|
|
- var pos = checkVal(input, buffer, true);
|
|
|
setTimeout(function() {
|
|
|
+ var pos = checkVal(input, buffer, true);
|
|
|
if (pos >= _buffer.length)
|
|
|
caret(input, 0, pos);
|
|
|
else
|