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:
Prateek Saxena 2014-04-21 16:43:50 +05:30
parent a2242e6886
commit d5dbeff0f2

View file

@ -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
) {