Skip to content

Commit

Permalink
Update blur (#35279)
Browse files Browse the repository at this point in the history
  • Loading branch information
processprocess committed Jul 19, 2021
1 parent 868f0cf commit ff26a3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/amp-story/1.0/amp-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit ff26a3c

Please sign in to comment.