Skip to content

Commit 6b3ee0e

Browse files
Johann-SXhmikosR
authored andcommitted
removing last occurences of _fixTitle in our docs (twbs#29631)
1 parent 81541b9 commit 6b3ee0e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

site/assets/js/src/application.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,10 @@
156156
var fallbackMsg = 'Press ' + modifierKey + 'C to copy'
157157
var tooltipBtn = bootstrap.Tooltip.getInstance(e.trigger)
158158

159-
e.trigger.setAttribute('title', fallbackMsg)
160-
tooltipBtn._fixTitle()
159+
e.trigger.setAttribute('data-original-title', fallbackMsg)
161160
tooltipBtn.show()
162161

163-
e.trigger.setAttribute('title', 'Copy to clipboard')
164-
tooltipBtn._fixTitle()
162+
e.trigger.setAttribute('data-original-title', 'Copy to clipboard')
165163
})
166164

167165
anchors.options = {

0 commit comments

Comments
 (0)