MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 41: Line 41:
if (!$(this).prop('style').width) {
if (!$(this).prop('style').width) {
var tabbertabWidth = $(this).find('.tabbertab').prop('style').width;
var tabbertabWidth = $(this).find('.tabbertab').prop('style').width;
if (tabbertabWidth) {
if (tabbertabWidth)
$(this).css('width', tabbertabWidth);
$(this).css('width', tabbertabWidth);
$(this).css('max-width', 'none');
}
}
}
});
});