Browse Source

Merge pull request #431 from amfleming/patch-3

Correctly match multiple class names
pull/430/merge
Lebedev Konstantin 10 years ago
parent
commit
ed8ae42e15
  1. 2
      Sortable.js

2
Sortable.js

@ -885,7 +885,7 @@
selector = selector.split('.'); selector = selector.split('.');
var tag = selector.shift().toUpperCase(), var tag = selector.shift().toUpperCase(),
re = new RegExp('\\s(' + selector.join('|') + ')\\s', 'g'); re = new RegExp('\\s(' + selector.join('|') + ')(?=\\s)', 'g');
do { do {
if ( if (

Loading…
Cancel
Save