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 504f66b commit d952a63Copy full SHA for d952a63
src/runtime/insertBySelector.js
@@ -1,4 +1,6 @@
1
/* global document, window */
2
+/* eslint-disable unicorn/prefer-global-this */
3
+
4
const memo = {};
5
6
/* istanbul ignore next */
@@ -8,9 +10,7 @@ function getTarget(target) {
8
10
9
11
// Special case to return head of iframe instead of iframe itself
12
if (
- // eslint-disable-next-line unicorn/prefer-global-this
13
window.HTMLIFrameElement &&
14
styleTarget instanceof window.HTMLIFrameElement
15
) {
16
try {
0 commit comments