提交 38f99626 编写于 作者: C codecalm

icons fix

上级 48670c2c
......@@ -27,7 +27,7 @@
<div class="demo-icons-list-wrap">
<div class="demo-icons-list">
{% for icon in icons limit: limit %}
<a href="#" class="demo-icons-list-item" data-bs-toggle-icon="{{ icon }}" title="{{ icon }}" data-icon-svg="{% capture svg %}{% highlight html %}{% include ui/icon.html icon=icon %}{% endhighlight %}{% endcapture %}{{ svg | escape }}">
<a href="#" class="demo-icons-list-item" data-toggle-icon="{{ icon }}" title="{{ icon }}" data-icon-svg="{% capture svg %}{% highlight html %}{% include ui/icon.html icon=icon %}{% endhighlight %}{% endcapture %}{{ svg | escape }}">
{% include ui/icon.html icon=icon %}
<div class="mt-1 text-muted text-h5">{{ icon }}</div>
</a>
......@@ -52,7 +52,7 @@
};
(function () {
const elements = document.querySelectorAll('[data-bs-toggle-icon]');
const elements = document.querySelectorAll('[data-toggle-icon]');
if (elements.length) {
elements.forEach(function (element) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册