mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-11 16:58:14 +00:00
Ignore internal
class for links
This is being used in the rectangle icons to enlarge the image. Bug: 64116 Change-Id: I52b93e7063fbb8e39fbc6993566210a180d1decc
This commit is contained in:
parent
a2242e6886
commit
d5dbeff0f2
|
@ -425,6 +425,7 @@
|
|||
.not( '.extiw' )
|
||||
.not( '.image' )
|
||||
.not( '.new' )
|
||||
.not( '.internal' )
|
||||
.not( '[title=""]' )
|
||||
.on( 'mouseenter focus', function () {
|
||||
$( this )
|
||||
|
@ -449,6 +450,7 @@
|
|||
$this.hasClass( 'extiw' ) ||
|
||||
$this.hasClass( 'image' ) ||
|
||||
$this.hasClass( 'new' ) ||
|
||||
$this.hasClass( 'internal' ) ||
|
||||
href.indexOf( '?' ) !== -1 ||
|
||||
href.indexOf( location.origin + location.pathname + '#' ) === 0
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue