Browse Source

Revert binding for android to normal binding

Robin Herbots 11 years ago
parent
commit
211aa9fa00
1 changed files with 3 additions and 1 deletions
  1. 3 1
      js/jquery.inputmask.js

+ 3 - 1
js/jquery.inputmask.js

@@ -1182,6 +1182,7 @@
                 }, 0);
                 }, 0);
             }
             }
 
 
+            //not used - attempt to support android 
             function mobileInputEvent(e) {
             function mobileInputEvent(e) {
                 var input = this, $input = $(input);
                 var input = this, $input = $(input);
 
 
@@ -1387,7 +1388,7 @@
                         .attr("autocorrect","off")
                         .attr("autocorrect","off")
                         .attr("autocapitalize","off")
                         .attr("autocapitalize","off")
                         .attr("spellcheck",false);
                         .attr("spellcheck",false);
-                    
+                    /*
                         $el.unbind("keydown.inputmask", keydownEvent
                         $el.unbind("keydown.inputmask", keydownEvent
                          	).unbind("keypress.inputmask", keypressEvent
                          	).unbind("keypress.inputmask", keypressEvent
                          	).unbind("keyup.inputmask", keyupEvent);
                          	).unbind("keyup.inputmask", keyupEvent);
@@ -1395,6 +1396,7 @@
                             $el.unbind(PasteEventType + ".inputmask");
                             $el.unbind(PasteEventType + ".inputmask");
                         }
                         }
                         $el.bind("input.inputmask", mobileInputEvent);
                         $el.bind("input.inputmask", mobileInputEvent);
+                    */
                     }
                     }
 
 
                     if (msie1x)
                     if (msie1x)