Browse Source

Fix for issue #1073
* _valueGet() is a property of the inputmask object, not the input object.

Dzulqarnain Nasir 10 years ago
parent
commit
df112f7903
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/inputmask.js

+ 1 - 1
js/inputmask.js

@@ -2314,7 +2314,7 @@
 
 				//backspace in chrome32 only fires input event - detect & treat
 				var caretPos = caret(input),
-					currentValue = input._valueGet();
+					currentValue = input.inputmask._valueGet();
 
 				currentValue = currentValue.replace(new RegExp("(" + Inputmask.escapeRegex(getBufferTemplate().join("")) + ")*"), "");
 				//correct caretposition for chrome