Permalink
Browse files

Merge pull request #46 from mintuhouse/patch-1

Allow setting $select.val('').change()
2 parents 2555da7 + 7ab6c9c commit 48c663081d26d6727c99f402c3807c0dbeafa0a7 @FezVrasta committed on GitHub Aug 15, 2016
Showing with 0 additions and 1 deletion.
  1. +0 −1 jquery.dropdown.js
View
@@ -170,7 +170,6 @@
// Update dropdown when using val, need to use .val("value").trigger("change");
$select.on("change", function(e) {
var $this = $(e.target);
- if (!$this.val().length) return;
if (!multi) {
var $selected;

0 comments on commit 48c6630

Please sign in to comment.