Browse Source

#902: * clearSelection

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

7
Sortable.js

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

2
Sortable.min.js vendored

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