summaryrefslogtreecommitdiffstats
path: root/slick.grid.js
diff options
context:
space:
mode:
Diffstat (limited to 'slick.grid.js')
-rw-r--r--slick.grid.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/slick.grid.js b/slick.grid.js
index 3eb72b5..6fdbdba 100644
--- a/slick.grid.js
+++ b/slick.grid.js
@@ -2456,10 +2456,10 @@ if (typeof Slick === "undefined") {
function clearTextSelection() {
if (document.selection && document.selection.empty) {
- try {
- //IE fails here if selected element is not in dom
- document.selection.empty();
- } catch (e) { }
+ try {
+ //IE fails here if selected element is not in dom
+ document.selection.empty();
+ } catch (e) { }
} else if (window.getSelection) {
var sel = window.getSelection();
if (sel && sel.removeAllRanges) {