mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Add missing mw.popups.selectPopupElements test case
Follow up on Id173b21 by adding a test case that covers the test of whether the anchor's title is in a content namespace. Bug: T133020 Change-Id: I414a5ff8aa4edf58dd0d1947db077afdd1d22f39
This commit is contained in:
parent
9b7797dd6d
commit
5f69a721fc
|
@ -106,6 +106,13 @@
|
|||
title: 'link title'
|
||||
} ).appendTo( mw.popups.$content );
|
||||
|
||||
// Add a link that's not in a content namespace.
|
||||
$( '<a>', {
|
||||
text: 'link with tooltip',
|
||||
title: 'foo.jpg',
|
||||
href: '/wiki/File:foo.jpg'
|
||||
} ).appendTo( mw.popups.$content );
|
||||
|
||||
// add a link that will have a hover card
|
||||
$( '<a>', {
|
||||
text: 'link with tooltip',
|
||||
|
|
Loading…
Reference in a new issue