mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
This commit is contained in:
parent
343b962a90
commit
eddcf5b493
|
@ -159,7 +159,7 @@ function dismissOnClickOutside( event ) {
|
|||
const panel = document.getElementById( 'citizen-pref-panel' );
|
||||
|
||||
if ( panel.classList.contains( 'citizen-pref-panel--active' ) ) {
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
|
||||
togglePanel();
|
||||
}
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ function dismissOnEscape( event ) {
|
|||
if ( event.key !== 'Escape' ) {
|
||||
return;
|
||||
}
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
|
||||
togglePanel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue