mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-14 19:31:55 +00:00
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:
parent
bb8af787cf
commit
cdb9388b93
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue