Commit 329fd375 authored by Neil Fraser's avatar Neil Fraser

Merge pull request #85 from carlosperate/ie_deselect

IE deselect exception fix.
parents a0e21436 5b3c411e
...@@ -537,7 +537,6 @@ Blockly.removeAllRanges = function() { ...@@ -537,7 +537,6 @@ Blockly.removeAllRanges = function() {
if (window.getSelection) { // W3 if (window.getSelection) { // W3
var sel = window.getSelection(); var sel = window.getSelection();
if (sel && sel.removeAllRanges) { if (sel && sel.removeAllRanges) {
sel.removeAllRanges();
setTimeout(function() { setTimeout(function() {
try { try {
window.getSelection().removeAllRanges(); window.getSelection().removeAllRanges();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment