Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #118 from j2jensen/master

A few minor fixes
  • Loading branch information...
commit d6d1558bace01a3b393d85e5bcc4a1a9b84b1d3e 2 parents 9e4e836 + 8ac725a
@digitalBush authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/jquery.maskedinput.js
View
6 src/jquery.maskedinput.js
@@ -244,7 +244,8 @@ $.fn.extend({
var test = input.val(),
lastMatch = -1,
i,
- c;
+ c,
+ pos;
for (i = 0, pos = 0; i < len; i++) {
if (tests[i]) {
@@ -292,8 +293,7 @@ $.fn.extend({
})
.bind("focus.mask", function() {
clearTimeout(caretTimeoutId);
- var pos,
- moveCaret;
+ var pos;
focusText = input.val();
pos = checkVal();
Please sign in to comment.
Something went wrong with that request. Please try again.