Fix call to renamed var

The var 'module' got renamed to 'm' in
I57b11c6b4c6e67bb38bb67a93b06d6d1d3009933. This patch fixes the
call to it.

Bug: T284716
Change-Id: I57b7a5fd4a8f2fe2fa98ab5fc41c5bd2500f3a67
This commit is contained in:
Alexander Vorwerk 2021-06-10 11:11:44 +02:00
parent bb8af787cf
commit cdb9388b93

View file

@ -548,7 +548,7 @@
// Activate all required core extensions on context
for ( var extension in $.wikiEditor.extensions ) {
if (
$.wikiEditor.isRequired( $.wikiEditor.modules[ module ], extension ) &&
$.wikiEditor.isRequired( $.wikiEditor.modules[ m ], extension ) &&
context.extensions.indexOf( extension ) === -1
) {
context.extensions[ context.extensions.length ] = extension;