mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -203,7 +203,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
}
|
||||
|
||||
function androidInputEvent(e) {
|
||||
console.log('androidInputEvent');
|
||||
var curVal = input.val();
|
||||
var pos = input.caret();
|
||||
if (oldVal && oldVal.length && oldVal.length > curVal.length ) {
|
||||
@@ -239,7 +238,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
|
||||
|
||||
function blurEvent(e) {
|
||||
console.log('blurEvent');
|
||||
clearInterval(actualCaretID);
|
||||
checkVal();
|
||||
|
||||
@@ -250,7 +248,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
var inputCancel = false;
|
||||
|
||||
function keydownEvent(e) {
|
||||
console.log('keydownEvent');
|
||||
if (input.prop("readonly")){
|
||||
return;
|
||||
}
|
||||
@@ -286,7 +283,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
}
|
||||
|
||||
function keypressEvent(e) {
|
||||
console.log('keypressEvent');
|
||||
if (input.prop("readonly")){
|
||||
return;
|
||||
}
|
||||
@@ -450,7 +446,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
});
|
||||
|
||||
function focusEvent () {
|
||||
console.log('focusEvent');
|
||||
if (input.prop("readonly")){
|
||||
return;
|
||||
}
|
||||
@@ -463,7 +458,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
pos = checkVal();
|
||||
|
||||
caretTimeoutId = setTimeout(function(){
|
||||
console.log('caretTimeoutId')
|
||||
if(input.get(0) !== document.activeElement){
|
||||
return;
|
||||
}
|
||||
@@ -479,7 +473,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
}
|
||||
|
||||
function unmask() {
|
||||
// console.log('mask one unmask');
|
||||
input
|
||||
.off(".mask")
|
||||
.removeData($.mask.dataName);
|
||||
@@ -512,7 +505,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
|
||||
inputCancel = false;
|
||||
return;
|
||||
}
|
||||
console.log('input.mask paste.mask');
|
||||
if (input.prop("readonly")){
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user