Skip to content

Commit

Permalink
Sortables: Prevent dragging for select and option elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
timwienk committed Jan 19, 2012
1 parent 0be6f1a commit 2a759ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Drag/Sortables.js
Expand Up @@ -148,7 +148,7 @@ var Sortables = new Class({
if (
!this.idle ||
event.rightClick ||
['button', 'input', 'a', 'textarea'].contains(event.target.get('tag'))
['button', 'input', 'a', 'textarea', 'select', 'option'].contains(event.target.get('tag'))
) return;

this.idle = false;
Expand Down

0 comments on commit 2a759ae

Please sign in to comment.