ソースを参照

remove notranslate from caret

Robin Herbots 12 年 前
コミット
923a9c1aba
1 ファイル変更2 行追加2 行削除
  1. 2 2
      js/jquery.inputmask.js

+ 2 - 2
js/jquery.inputmask.js

@@ -696,9 +696,9 @@
                     }
                 }
 
-                function caret(input, begin, end, notranslate) {
+                function caret(input, begin, end) {
                     function TranslatePosition(pos) {
-                        if (notranslate !== true && isRTL && typeof pos == 'number') {
+                        if (isRTL && typeof pos == 'number') {
                             var bffrLght = getActiveBuffer().length;
                             pos = bffrLght - pos;
                         }