From bc477437fe306e1061bc954b98437007d21e085d Mon Sep 17 00:00:00 2001 From: Gabriel Majoulet Date: Thu, 25 Jan 2018 16:25:21 -0500 Subject: [PATCH] Making sure the spinning loader is only visible on the active page on desktop. (#13032) --- extensions/amp-story/0.1/amp-story-page.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/amp-story/0.1/amp-story-page.js b/extensions/amp-story/0.1/amp-story-page.js index 3941b168689a..8cf590f9d810 100644 --- a/extensions/amp-story/0.1/amp-story-page.js +++ b/extensions/amp-story/0.1/amp-story-page.js @@ -642,6 +642,7 @@ export class AmpStoryPage extends AMP.BaseElement { * @private */ stopListeningToVideoEvents_() { + this.debounceToggleLoadingSpinner_(false); this.unlisteners_.forEach(unlisten => unlisten()); this.unlisteners_ = []; }