From 75a9ce46963035c3a03d4eee2179167f3122c359 Mon Sep 17 00:00:00 2001 From: tophf Date: Sat, 20 Jan 2018 16:26:13 +0300 Subject: [PATCH] don't overwrite url in stylus-iframe attr with "true" --- content/apply.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/apply.js b/content/apply.js index 9038af87..ee8b63cc 100644 --- a/content/apply.js +++ b/content/apply.js @@ -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;