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

Commit 8b44ebd

Browse files
committed
Merge pull request #80 from StoneCrossingSolutions/master
Clear out unselected text on blur
2 parents 13d34c3 + b719a74 commit 8b44ebd

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

src/jquery.tokeninput.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ $.TokenList = function (input, url_or_data, settings) {
171171
})
172172
.blur(function () {
173173
hide_dropdown();
174+
$(this).val("");
174175
})
175176
.bind("keyup keydown blur update", resize_input)
176177
.keydown(function (event) {

0 commit comments

Comments
 (0)