mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Disable reference previews when the navigation popups gadget is used
Otherwise we will have two popups for references when hovering. Bug: T347391 Change-Id: I8332e9fe6e214b2bd3491adb2bedcae2870f34c7
This commit is contained in:
parent
a11d459ef1
commit
26c0e592a5
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -22,6 +22,7 @@ export default function isReferencePreviewsEnabled( user, userSettings, config )
|
|||
|
||||
// T265872: Unavailable when in conflict with (one of the) reference tooltips gadgets.
|
||||
if ( config.get( 'wgPopupsConflictsWithRefTooltipsGadget' ) ||
|
||||
config.get( 'wgPopupsConflictsWithNavPopupGadget' ) ||
|
||||
// T243822: Temporarily disabled in the mobile skin
|
||||
config.get( 'skin' ) === 'minerva'
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue