Browse Source

patchValueProperty fix for IE8

Robin Herbots 14 years ago
parent
commit
5c214c98ed
1 changed files with 1 additions and 1 deletions
  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;