We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139983f commit 24c3a06Copy full SHA for 24c3a06
src/util/dom.js
@@ -96,6 +96,6 @@ if (ios) // Mobile Safari apparently has a bug where select() is broken.
96
else if (ie) // Suppress mysterious IE10 errors
97
selectInput = function(node) { try { node.select() } catch(_e) {} }
98
99
-export function doc(cm) { return cm.display.wrapper.ownerDocument.defaultView }
+export function doc(cm) { return cm.display.wrapper.ownerDocument }
100
101
export function win(cm) { return doc(cm).defaultView }
0 commit comments