Browse Source

#902: * clearSelection

massanho-setTimeout
Lebedev Konstantin 9 years ago
parent
commit
a4d5aa15f4
  1. 7
      Sortable.js
  2. 2
      Sortable.min.js

7
Sortable.js

@ -401,8 +401,11 @@
} }
try { try {
if (document.selection) { if (document.selection) {
document.selection.empty(); // Timeout neccessary for IE9
setTimeout(function () {
document.selection.empty();
});
} else { } else {
window.getSelection().removeAllRanges(); window.getSelection().removeAllRanges();
} }

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save