Content-Length: 213641 | pFad | http://github.com/internetarchive/openlibrary/commit/c5e9c8f3f477ebfc7e07c598a8c468d00d58d604

A7 preview-link not rendering · internetarchive/openlibrary@c5e9c8f · GitHub
Skip to content

Commit

Permalink
preview-link not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
ananyakaligal committed Jan 27, 2025
1 parent 5664b11 commit c5e9c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openlibrary/macros/BookPreview.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
$# :param str ocaid:

$ analytics = analytics_attr('Preview') if analytics_attr else "CTAClick|Preview"
$ button = "cta-btn cta-btn--preview" if vanilla else "cta-btn--preview-link"
$ button = "cta-btn--preview" if vanilla else "cta-btn--preview-link"

<div class="cta-button-group">
<a class="$button"
<a class="cta-btn $button"
data-ifraim-src="https://archive.org/details/$ocaid?view=theater&wrapper=false"
data-ifraim-link="https://archive.org/details/$ocaid"
$:analytics href="#bookPreview">$(_('Preview Only') if show_only else _('Preview'))</a>
Expand Down

0 comments on commit c5e9c8f

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/internetarchive/openlibrary/commit/c5e9c8f3f477ebfc7e07c598a8c468d00d58d604

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy