mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-23 16:06:45 +00:00
fix: fix var scope in VE scripts
This commit is contained in:
parent
dcc4bc1f97
commit
f8e3b758b2
|
@ -31,8 +31,8 @@ ve.ce.MWTabberNode.static.tagName = 'div';
|
|||
ve.ce.MWTabberNode.static.primaryCommandName = 'mwTabber';
|
||||
|
||||
/* Methods */
|
||||
|
||||
let lastHeader;
|
||||
// eslint-disable-next-line no-var
|
||||
var lastHeader;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
|
|
|
@ -31,8 +31,8 @@ ve.ce.MWTabberTranscludeNode.static.tagName = 'div';
|
|||
ve.ce.MWTabberTranscludeNode.static.primaryCommandName = 'mwTabberTransclude';
|
||||
|
||||
/* Methods */
|
||||
|
||||
let lastHeader;
|
||||
// eslint-disable-next-line no-var
|
||||
var lastHeader;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
|
|
Loading…
Reference in a new issue