ソースを参照

patchValueProperty fix for ie8

Robin Herbots 14 年 前
コミット
fd7b86c6f0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      jquery.inputmask.js

+ 1 - 1
jquery.inputmask.js

@@ -607,7 +607,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                     var valueProperty;
                     if (Object.getOwnPropertyDescriptor)
                         var valueProperty = Object.getOwnPropertyDescriptor(npt, "value");
-                    if (valueProperty) {
+                    if (valueProperty && valueProperty.get) {
                         if (!npt._valueGet) {
 
                             npt._valueGet = valueProperty.get;