From 07a258e3f41141ec72bb11fc5abf255288bb753a Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Mon, 17 Apr 2017 14:08:13 -0700 Subject: [PATCH] disable autolinking in IE11, closes #1390 --- core/polyfill.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/polyfill.js b/core/polyfill.js index f2990052ea..6791630438 100644 --- a/core/polyfill.js +++ b/core/polyfill.js @@ -55,7 +55,9 @@ if (!Array.prototype.find) { }); } -// Disable resizing in Firefox document.addEventListener("DOMContentLoaded", function() { + // Disable resizing in Firefox document.execCommand("enableObjectResizing", false, false); + // Disable automatic linkifying in IE11 + document.execCommand("autoUrlDetect", false, false); });