Commits

Mark Lavin committed b81b986

Change remove button to link to prevent enter from removing items. Fixes #24.

Comments (0)

Files changed (1)

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

                 $('<div>')
                 .addClass('selectable-deck-remove')
                 .append(
-                    $('<button>')
+                    $('<a>')
+                    .attr('href', '#')
                     .button({
                         icons: {
                             primary: self.options.removeIcon