don't overwrite url in stylus-iframe attr with "true"
This commit is contained in:
parent
cd794b981b
commit
75a9ce4696
|
@ -138,7 +138,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function doExposeIframes(state = exposeIframes) {
|
function doExposeIframes(state = exposeIframes) {
|
||||||
if (state === exposeIframes || window === parent) {
|
if (state === exposeIframes ||
|
||||||
|
state === true && typeof exposeIframes === 'string' ||
|
||||||
|
window === parent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
exposeIframes = state;
|
exposeIframes = state;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user