Skip to content
Browse files

Sortables: Prevent dragging for select and option elements.

  • Loading branch information...
1 parent 0be6f1a commit 2a759ae3b50716edc6816009101071cf2addd87c @timwienk timwienk committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Drag/Sortables.js
View
2 Source/Drag/Sortables.js
@@ -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;

0 comments on commit 2a759ae

Please sign in to comment.
Something went wrong with that request. Please try again.