mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-11 14:46:11 +00:00
847a09be11
Moved the scripts and the CSS into the modules folder directly (like almost all other extensions do), added a .jshintrc to not have jenkins shout at this change and minor stuff. After this change Cite will no longer work with anything older than PHP 5.3! Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
14 lines
272 B
JavaScript
14 lines
272 B
JavaScript
( function( $ ) {
|
|
'use strict';
|
|
|
|
$( function() {
|
|
$( '.biblio-cite-link,sup.reference a' ).tooltip( {
|
|
bodyHandler: function() {
|
|
return $( '#' + this.hash.substr(1) + ' > .reference-text' )
|
|
.html();
|
|
},
|
|
showURL : false
|
|
} );
|
|
} );
|
|
} )( jQuery );
|