🌐 AI搜索 & 代理 主页
Skip to content

Commit 842199e

Browse files
authored
Merge pull request corejavascript#102 from kane-c/jquery-3-fix
Add jQuery 3 compatibility
2 parents ed826e3 + cadd327 commit 842199e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typeahead/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@
223223
.removeData()
224224
.css(www.css.hint)
225225
.css(getBackgroundStyles($input))
226-
.prop('readonly', true)
227-
.removeAttr('id name placeholder required')
226+
.prop({ readonly: true, required: false })
227+
.removeAttr('id name placeholder')
228228
.attr({ spellcheck: 'false', tabindex: -1 });
229229
}
230230

0 commit comments

Comments
 (0)