mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Merge pull request #85 from carlosperate/ie_deselect
IE deselect exception fix.
This commit is contained in:
@@ -537,7 +537,6 @@ Blockly.removeAllRanges = function() {
|
||||
if (window.getSelection) { // W3
|
||||
var sel = window.getSelection();
|
||||
if (sel && sel.removeAllRanges) {
|
||||
sel.removeAllRanges();
|
||||
setTimeout(function() {
|
||||
try {
|
||||
window.getSelection().removeAllRanges();
|
||||
|
||||
Reference in New Issue
Block a user