mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-01 03:26:28 +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 },
|
scrollPadding = { top: 10, bottom: 10 },
|
||||||
config = require( './controller/config.json' ),
|
config = require( './controller/config.json' ),
|
||||||
// TODO: Remember last editor used
|
// TODO: Remember last editor used
|
||||||
useVisual = config.useVisualEditor;
|
useVisual = config.useVisualEditor || ( new mw.Uri() ).query.dtvisual;
|
||||||
|
|
||||||
// Start loading reply widget code
|
// Start loading reply widget code
|
||||||
if ( useVisual ) {
|
if ( useVisual ) {
|
||||||
|
|
Loading…
Reference in a new issue