Browse Source

quick fix for chrome (patchValueProperty)

Robin Herbots 13 years ago
parent
commit
9e965bc265
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jquery.inputmask.js

+ 1 - 1
jquery.inputmask.js

@@ -623,7 +623,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                                 }
                                 }
                             });
                             });
                         }
                         }
-                    } else if (document.__lookupGetter__) {
+                    } else if (document.__lookupGetter__ && npt.__lookupGetter__("value")) {
                         if (!npt._valueGet) {
                         if (!npt._valueGet) {
                             npt._valueGet = npt.__lookupGetter__("value");
                             npt._valueGet = npt.__lookupGetter__("value");
                             npt._valueSet = npt.__lookupSetter__("value");
                             npt._valueSet = npt.__lookupSetter__("value");