don't overwrite url in stylus-iframe attr with "true"

This commit is contained in:
tophf 2018-01-20 16:26:13 +03:00
parent cd794b981b
commit 75a9ce4696

View File

@ -138,7 +138,9 @@
}
function doExposeIframes(state = exposeIframes) {
if (state === exposeIframes || window === parent) {
if (state === exposeIframes ||
state === true && typeof exposeIframes === 'string' ||
window === parent) {
return;
}
exposeIframes = state;