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:
Sam Smith 2016-04-22 10:19:34 +01:00
parent 9b7797dd6d
commit 5f69a721fc

View file

@ -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',