We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f3d6a commit c5be828Copy full SHA for c5be828
site/assets/js/partials/code-examples.js
@@ -63,6 +63,11 @@ export default () => {
63
const namespace = 'http://www.w3.org/1999/xlink'
64
const originalXhref = iconFirstChild.getAttributeNS(namespace, 'href')
65
const originalTitle = event.trigger.title
66
+ const isCheckIconVisible = originalXhref === '#check2'
67
+
68
+ if (isCheckIconVisible) {
69
+ return
70
+ }
71
72
tooltipBtn.setContent({ '.tooltip-inner': 'Copied!' })
73
event.trigger.addEventListener('hidden.bs.tooltip', () => {
0 commit comments