Skip to content

Commit 56beaf4

Browse files
committed
Add a comment about permalink icon
1 parent 5cfbc3b commit 56beaf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hoverxref/_static/js/hoverxref.js_t

+3
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ $(document).ready(function() {
184184
var title = h1.text()
185185
if (title) {
186186
var link = $('a', h1).attr('href') || '#';
187+
188+
// Remove permalink icon from the title
187189
var title = title.replace('¶', '').replace('', '');
190+
188191
var a = $('<a></a>').attr('href', link).text('{{ hoverxref_modal_prefix_title }}' + title);
189192
}
190193
else {

0 commit comments

Comments
 (0)