mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
fix: incorrect character trimming for tab IDs
This commit is contained in:
parent
3358e2e49c
commit
5e4471d23f
|
@ -19,7 +19,7 @@ function initTabber( tabber ) {
|
|||
tab = document.createElement( 'a' );
|
||||
|
||||
// Prepend with tab so that it does not collide with article heading
|
||||
let hash = 'tab-' + mw.util.escapeIdForAttribute( tabPanel.title ).slice( 0, -1 );
|
||||
let hash = 'tab-' + mw.util.escapeIdForAttribute( tabPanel.title );
|
||||
|
||||
// If MD5 Hash is enabled
|
||||
if ( isMD5 ) {
|
||||
|
|
Loading…
Reference in a new issue