diff options
author | zhixin <wenzhixin2010@gmail.com> | 2015-11-24 16:18:39 +0800 |
---|---|---|
committer | zhixin <wenzhixin2010@gmail.com> | 2015-11-24 16:18:39 +0800 |
commit | b1204d5840ec5f57b11a073e6011e655164351b6 (patch) | |
tree | 5c40f55f91b53c01c0d7ec4d220f391f07cd9ecf /jquery.multiple.select.js | |
parent | 55755388aa09ccc8ce42431188c79c8d5a129a36 (diff) | |
download | multiple-select-b1204d5840ec5f57b11a073e6011e655164351b6.zip multiple-select-b1204d5840ec5f57b11a073e6011e655164351b6.tar.gz multiple-select-b1204d5840ec5f57b11a073e6011e655164351b6.tar.bz2 |
Fix #224: Update to document.
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r-- | jquery.multiple.select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js index 3610d93..f885e03 100644 --- a/jquery.multiple.select.js +++ b/jquery.multiple.select.js @@ -75,7 +75,7 @@ this.selectItemName = 'data-name="selectItem' + name + '"'; if (!this.options.keepOpen) { - $('html').click(function (e) { + $(document).click(function (e) { if ($(e.target)[0] === that.$choice[0] || $(e.target).parents('.ms-choice')[0] === that.$choice[0]) { return; |