Skip to content

Commit

Permalink
Making sure the spinning loader is only visible on the active page on…
Browse files Browse the repository at this point in the history
… desktop. (ampproject#13032)
  • Loading branch information
gmajoulet authored and protonate committed Mar 15, 2018
1 parent b2a9c78 commit 4e9c7bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/amp-story/0.1/amp-story-page.js
Expand Up @@ -642,6 +642,7 @@ export class AmpStoryPage extends AMP.BaseElement {
* @private
*/
stopListeningToVideoEvents_() {
this.debounceToggleLoadingSpinner_(false);
this.unlisteners_.forEach(unlisten => unlisten());
this.unlisteners_ = [];
}
Expand Down

0 comments on commit 4e9c7bd

Please sign in to comment.