Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit 5b5f88d

Browse files
committed
also turn off autocapitalize
1 parent 096457a commit 5b5f88d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jquery.tokeninput.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ $.TokenList = function (input, url_or_data, settings) {
237237
var input_val;
238238

239239
// Create a new text input an attach keyup events
240-
var input_box = $("<input type=\"text\" autocomplete=\"off\">")
240+
var input_box = $("<input type=\"text\" autocomplete=\"off\" autocapitalize=\"off\">")
241241
.css({
242242
outline: "none"
243243
})
@@ -253,11 +253,11 @@ $.TokenList = function (input, url_or_data, settings) {
253253
})
254254
.blur(function () {
255255
hide_dropdown();
256-
256+
257257
if ($(input).data("settings").allowFreeTagging) {
258258
add_freetagging_tokens();
259259
}
260-
260+
261261
$(this).val("");
262262
token_list.removeClass($(input).data("settings").classes.focused);
263263
})

0 commit comments

Comments
 (0)