Skip to content
Merged
Show file tree
Hide file tree
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
Prev Previous commit
Refert install
  • Loading branch information
processprocess committed Jan 31, 2022
commit 03a5412b0954a150f62ce912d9119dd6312b6f8a
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ export class AmpStoryShoppingAttachment extends AMP.BaseElement {
if (this.shoppingTags_.length === 0) {
Comment thread
processprocess marked this conversation as resolved.
return;
}
Services.extensionsFor(this.win).installExtensionForDoc(
this.getAmpDoc(),
'amp-story-page-attachment',
'0.1'
);
loadFonts(this.win, FONTS_TO_LOAD);
this.attachmentEl_ = (
<amp-story-page-attachment
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-story/1.0/amp-story-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ export class AmpStoryPage extends AMP.BaseElement {
*/
installPageAttachmentExtension_() {
const elementsThatRequireExtension = this.element.querySelector(
'amp-story-page-attachment, amp-story-page-outlink'
'amp-story-page-attachment, amp-story-page-outlink, amp-story-shopping-attachment'
);

if (!elementsThatRequireExtension) {
Expand Down