مدیاویکی:Gadget-ReferenceTooltips.js: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
کپی از نسخهٔ انگلیسی
اگر ref مربوط دارای پارامتر dir بود، آنگاه tooltip مربوطه هم باید این را رعایت کند
خط ۵۵۴:
case 'supRef':
this.id = 'rt-' + this.te.$originalElement.attr( 'id' );
if ( this.te.$originalElement.hasClass( 'mw-cite-dir-ltr' ) ) {
this.addClass( 'mw-cite-dir-ltr' );
} else if ( this.te.$originalElement.hasClass( 'mw-cite-dir-rtl' ) ) {
this.addClass( 'mw-cite-dir-rtl' );
}
this.$content = this.te.$ref
.children()