mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Education popups: Only show for DesktopArticleTarget"
This commit is contained in:
commit
3591a0e63d
|
@ -23,6 +23,7 @@ ve.ui.MWEducationPopupTool = function VeUiMwEducationPopupTool( config ) {
|
|||
config = config || {};
|
||||
|
||||
if (
|
||||
!( ve.init.mw.DesktopArticleTarget && ve.init.target instanceof ve.init.mw.DesktopArticleTarget ) ||
|
||||
ve.init.target.dummyToolbar ||
|
||||
(
|
||||
!prefSaysShow &&
|
||||
|
|
Loading…
Reference in a new issue