mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
Make broken middle click during refactor work again
Change-Id: Ie4c40accd1ac21c548d4ab899ffdd6c8f95af0a5
This commit is contained in:
parent
7538ce87b2
commit
4f20e53fdc
|
@ -130,9 +130,7 @@
|
|||
|
||||
// Register callback that launches modal image viewer if valid click
|
||||
$links.click( function ( e ) {
|
||||
viewer.clickLinkCallback( e, this, $thumbContain, thisImage );
|
||||
|
||||
return false;
|
||||
return viewer.clickLinkCallback( e, this, $thumbContain, thisImage );
|
||||
} );
|
||||
} );
|
||||
|
||||
|
@ -225,6 +223,8 @@
|
|||
e.preventDefault();
|
||||
|
||||
this.loadImage( thisImage, initial );
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue