MediaWiki:Gadget-vector-headanchor.js: Difference between revisions
Content added Content deleted
No edit summary Tag: Reverted |
Tags: Undo Reverted |
||
Line 20: | Line 20: | ||
anchor = document.createElement( 'a' ); |
anchor = document.createElement( 'a' ); |
||
anchor.href = '#' + el.id; |
anchor.href = '#' + el.id; |
||
anchor.textContent = ' |
anchor.textContent = '#'; |
||
anchor.title = 'Link to this section'; |
anchor.title = 'Link to this section'; |
||
anchor.className = 'tpl-vheadanchor'; |
anchor.className = 'tpl-vheadanchor'; |