Skip to content

Commit 31906d2

Browse files
committed
[build]
1 parent f4374d1 commit 31906d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/jquery.validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@
14151415
}
14161416
$.extend(this, {
14171417
_valHook: function() {
1418-
return this.element.getAttribute('contenteditable') !== null ? 'text' : 'val';
1418+
return this.element.contentEditable === 'true' ? 'text' : 'val';
14191419
},
14201420
getValue: function() {
14211421
var elem = this.element;

0 commit comments

Comments
 (0)