Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332994 )

Change subject: Fix typo in target config
......................................................................

Fix typo in target config

Change-Id: I5815ce5b0e05ce166e02bfcced520e3770f5453d
---
M modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/94/332994/1

diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js 
b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
index ba0e02c..5940486 100644
--- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
+++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
@@ -166,7 +166,7 @@
                                        target = 
ve.init.mw.targetFactory.create(
                                                conf.contentModels[ 
mw.config.get( 'wgPageContentModel' ) ], {
                                                        modes: modes,
-                                                       mode: mode
+                                                       defaultMode: mode
                                                }
                                        );
                                        target.setContainer( $( '#content' ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/332994
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5815ce5b0e05ce166e02bfcced520e3770f5453d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to