1 2 3 4 5 6 7 8 9 10 11 12
( function($) { $( function() { $('.biblio-cite-link,sup.reference a').tooltip({ bodyHandler: function() { return $( '#' + this.hash.substr(1) + ' > .reference-text' ) .html(); }, showURL : false } ); } ); } )( jQuery );