Print: prefer JS print over printable version.
Bug: T24256 Change-Id: Ic3dc15e578ce4a94959285c9ae579e9088423544
This commit is contained in:
parent
c6e2039a9f
commit
866b44bd89
1 changed files with 5 additions and 0 deletions
|
|
@ -58,6 +58,11 @@
|
|||
*/
|
||||
mw.hook( 'wikipage.categories' ).fire( $nodes );
|
||||
}
|
||||
|
||||
$( '#t-print' ).click( function ( e ) {
|
||||
window.print();
|
||||
e.preventDefault();
|
||||
} );
|
||||
} );
|
||||
|
||||
}( mediaWiki, jQuery ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue