Skip to content

Instantly share code, notes, and snippets.

@boldsupport
Last active November 13, 2017 21:22
Show Gist options
  • Save boldsupport/ef1730d11a45f583f1f7ab7e603748d8 to your computer and use it in GitHub Desktop.
Save boldsupport/ef1730d11a45f583f1f7ab7e603748d8 to your computer and use it in GitHub Desktop.
{% comment %}
These script tags are DOM templates used by the Multi Currency javascript and should not be modified
{% endcomment %}
<script type="text/template" id="bold-currency-picker-template">
<div class="BOLD-mc-picker multi">
<div class="currentCurrency loading" data-current-currency>
<span class="flag flag-loading" data-flag></span>
<span class="name" data-name>&bull;&bull;&bull;</span>
<span class="chevron">
<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><path d="M13.148 10.398l-1.297 1.289q-0.148 0.148-0.352 0.148t-0.352-0.148l-4.148-4.148-4.148 4.148q-0.148 0.148-0.352 0.148t-0.352-0.148l-1.297-1.289q-0.148-0.148-0.148-0.355t0.148-0.355l5.797-5.789q0.148-0.148 0.352-0.148t0.352 0.148l5.797 5.789q0.148 0.148 0.148 0.355t-0.148 0.355z" /></svg>
</span>
</div>
<ul class="currencyList" data-currency-list></ul>
</div>
</script>
<script type="text/template" id="bold-currency-picker-mount-template">
{%- include 'bold-currency-picker-mount' -%}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment