Commits

Mark Lavin  committed 0292d53

Use preventDefault rather than return false so that other functions may listen for the remove button click event. See #71

  • Participants
  • Parent commits 45543bd

Comments (0)

Files changed (1)

File selectable/static/selectable/js/jquery.dj.selectable.js

                         },
                         text: false
                     })
-                    .click(function() {
+                    .click(function(e) {
+                        e.preventDefault();
                         $(input).remove();
                         $(this).closest('li').remove();
-                        return false;
                     })
                 )
             );