Skip to content

Commit

Permalink
disable autolinking in IE11, closes #1390
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Apr 17, 2017
1 parent b3494f8 commit 07a258e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

0 comments on commit 07a258e

Please sign in to comment.