From ff26a3c602bea8fb673e2a038fd7cc3b66e4e087 Mon Sep 17 00:00:00 2001 From: Philip Bell Date: Mon, 19 Jul 2021 16:39:35 -0400 Subject: [PATCH] Update blur (#35279) --- extensions/amp-story/1.0/amp-story.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/amp-story/1.0/amp-story.js b/extensions/amp-story/1.0/amp-story.js index 5b842b8a4b02..d06e9d3f2899 100644 --- a/extensions/amp-story/1.0/amp-story.js +++ b/extensions/amp-story/1.0/amp-story.js @@ -1846,6 +1846,9 @@ export class AmpStory extends AMP.BaseElement { if (!this.backgroundBlur_) { this.backgroundBlur_ = new BackgroundBlur(this.win, this.element); this.backgroundBlur_.attach(); + if (this.activePage_) { + this.backgroundBlur_.update(this.activePage_.element); + } } this.vsync_.mutate(() => { this.element.removeAttribute('desktop');