|
|
@@ -1,7 +1,7 @@
|
|
|
/**
|
|
|
* @license Input Mask plugin for jquery
|
|
|
* http://github.com/RobinHerbots/jquery.inputmask
|
|
|
-* Copyright (c) 2010 - 2012 Robin Herbots
|
|
|
+* Copyright (c) 2010 - 2013 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
* Version: 0.0.0
|
|
|
*/
|
|
|
@@ -535,6 +535,9 @@
|
|
|
}
|
|
|
|
|
|
function caret(input, begin, end) {
|
|
|
+ if (!$(input).is(':visible')) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
var npt = input.jquery && input.length > 0 ? input[0] : input;
|
|
|
if (typeof begin == 'number') {
|
|
|
end = (typeof end == 'number') ? end : begin;
|