fix: fix var scope in VE scripts

This commit is contained in:
alistair3149 2023-07-05 17:51:24 -04:00
parent dcc4bc1f97
commit f8e3b758b2
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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