Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove unnecessary .then
  • Loading branch information
processprocess committed Oct 19, 2021
commit 877111d366a9dca9534a32b055d4974c9d9a7372
3 changes: 2 additions & 1 deletion extensions/amp-story-360/0.1/amp-story-360.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export class AmpStory360 extends AMP.BaseElement {
this.localizationService_ = localizationService;
}
),
]).then(() => Promise.resolve());
]);
}

/**
Expand Down Expand Up @@ -665,6 +665,7 @@ export class AmpStory360 extends AMP.BaseElement {

/** @override */
layoutCallback() {
console.log('layoutCallback');
const ampImgEl = this.element.querySelector('amp-img');
// Used to update the video in animate_.
this.ampVideoEl_ = this.element.querySelector('amp-video');
Expand Down