mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 10:11:45 +00:00
Allow visual mode to tested with ?dtvisual=1
Bug: T251963 Change-Id: Ie86ed2097e3dc008f73d9b498627f9d025b865d5
This commit is contained in:
parent
fdae56ea82
commit
d18496f025
|
@ -7,7 +7,7 @@ var
|
|||
scrollPadding = { top: 10, bottom: 10 },
|
||||
config = require( './controller/config.json' ),
|
||||
// TODO: Remember last editor used
|
||||
useVisual = config.useVisualEditor;
|
||||
useVisual = config.useVisualEditor || ( new mw.Uri() ).query.dtvisual;
|
||||
|
||||
// Start loading reply widget code
|
||||
if ( useVisual ) {
|
||||
|
|
Loading…
Reference in a new issue