User:Jack who built the house/Gadget-referenceTooltips.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 110:
var showRefArgs;
 
if ( activatedByClick && te.type !== 'commentedText' ) {
e.preventDefault();
}
Line 152:
 
this.$element.on( activatedByClick ?
{ 'click.rt': onStartEvent, 'contextmenu.rt': onStartEvent } :
{ 'mouseenter.rt': onStartEvent, 'mouseleave.rt': onEndEvent }
);
Line 607:
.parent()
.addClass( 'rt-tooltipContent' )
.addClass( 'mw-parser-output' )
.appendTo( this.$element );