forked from Shopify/dawn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Shopify for theme dawn/misha-puff-main
Committed from shop: Misha & Puff
- Loading branch information
1 parent
294de27
commit afc47bc
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- 2024-06-12T20:19:44.6374260Z --> | ||
<style>.shoplift-hide { opacity: 0 !important; }</style> | ||
<script type="text/javascript">(function(rootPath, template, isThemePreview){ function waitForElement(e){return new Promise(s=>{const t=document.querySelector(e);if(t){s(t);return}const i=new MutationObserver(o=>{const r=document.querySelector(e);if(r){i.disconnect(),s(r);return}});i.observe(document.documentElement,{childList:!0,subtree:!0})})}function clearThemeBar(){waitForElement("#preview-bar-iframe").then(e=>e.remove()).catch(e=>console.error(e))}clearThemeBar(); })("{{routes.root_url}}", { suffix: "{{ template.suffix }}", type: "{{ template.name }}" }, {% if content_for_header contains "previewBarInjector.init();" %}true{% else %}false{% endif %})</script> | ||
Check notice on line 3 in snippets/shoplift.checkout.liquid GitHub Actions / Theme Check Reportsnippets/shoplift.checkout.liquid#L3
|