Skip to content

Commit

Permalink
Fixed wechat modal bug
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <george.gcac@gmail.com>
  • Loading branch information
george-gca committed Dec 19, 2024
1 parent dbd221b commit 4599d63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions _includes/scripts.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@
<script defer src="{{ '/assets/js/progress-bar.js' | relative_url | bust_file_cache }}" type="text/javascript"></script>
{% endif %}

<!-- WeChat Modal -->
{% if site.wechat_qr %}
<script defer src="{{ '/assets/js/wechat.js' | relative_url | bust_file_cache }}" type="text/javascript"></script>
{% endif %}

<!-- Image Layouts -->
{% if page.images %}
{% if page.images.compare %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/social.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<div id="WeChatMod" class="wechat-modal">
<img src="{{ social[1] | prepend: 'assets/img/' | relative_url }}" alt="WeChat QR" id="WeChatQR">
</div>
{% include scripts/wechatModal.liquid %}
<script defer src="{{ '/assets/js/wechat.js' | relative_url | bust_file_cache }}" type="text/javascript"></script>
{% when 'whatsapp_number' %}
<a href="https://wa.me/{{ social[1] }}" title="whatsapp"><i class="fa-brands fa-whatsapp"></i></a>
{% when 'wikidata_id' %}
Expand Down

0 comments on commit 4599d63

Please sign in to comment.