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) {
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user