未验证 提交 223f41b3 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #5133 from daniel-beck/empty-tooltip

Do not show an empty tooltip on svg icons
......@@ -34,7 +34,7 @@
aria-hidden="${attrs.ariaHidden}"
style="${attrs.style}"
onclick="${attrs.onclick}"
tooltip="${h.xmlEscape(attrs.tooltip ?: '')}">
tooltip="${attrs.tooltip != null ? h.xmlEscape(attrs.tooltip) : null}">
<j:choose>
<j:when test="${attrs.href != null}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册