This commit is contained in:
2021-09-06 11:13:01 +03:00
parent b541de14e7
commit 77fda4e363
-8
View File
@@ -203,7 +203,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
} }
function androidInputEvent(e) { function androidInputEvent(e) {
console.log('androidInputEvent');
var curVal = input.val(); var curVal = input.val();
var pos = input.caret(); var pos = input.caret();
if (oldVal && oldVal.length && oldVal.length > curVal.length ) { if (oldVal && oldVal.length && oldVal.length > curVal.length ) {
@@ -239,7 +238,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
function blurEvent(e) { function blurEvent(e) {
console.log('blurEvent');
clearInterval(actualCaretID); clearInterval(actualCaretID);
checkVal(); checkVal();
@@ -250,7 +248,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
var inputCancel = false; var inputCancel = false;
function keydownEvent(e) { function keydownEvent(e) {
console.log('keydownEvent');
if (input.prop("readonly")){ if (input.prop("readonly")){
return; return;
} }
@@ -286,7 +283,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
} }
function keypressEvent(e) { function keypressEvent(e) {
console.log('keypressEvent');
if (input.prop("readonly")){ if (input.prop("readonly")){
return; return;
} }
@@ -450,7 +446,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
}); });
function focusEvent () { function focusEvent () {
console.log('focusEvent');
if (input.prop("readonly")){ if (input.prop("readonly")){
return; return;
} }
@@ -463,7 +458,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
pos = checkVal(); pos = checkVal();
caretTimeoutId = setTimeout(function(){ caretTimeoutId = setTimeout(function(){
console.log('caretTimeoutId')
if(input.get(0) !== document.activeElement){ if(input.get(0) !== document.activeElement){
return; return;
} }
@@ -479,7 +473,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
} }
function unmask() { function unmask() {
// console.log('mask one unmask');
input input
.off(".mask") .off(".mask")
.removeData($.mask.dataName); .removeData($.mask.dataName);
@@ -512,7 +505,6 @@ kit.PluginManager.register('mask', function(module, exports, require){
inputCancel = false; inputCancel = false;
return; return;
} }
console.log('input.mask paste.mask');
if (input.prop("readonly")){ if (input.prop("readonly")){
return; return;
} }