MediaWiki:Common.js: Difference between revisions

add wedge arrows to show/hide captions
use non-breaking space on show ▼ hide ▲ buttons
Line 23: Line 23:
  */
  */
var autoCollapse = 2;
var autoCollapse = 2;
var collapseCaption = 'hide ▲';
var collapseCaption = 'hide ▲';
var expandCaption = 'show ▼';
var expandCaption = 'show ▼';


function collapseTable( tableIndex ) {
function collapseTable( tableIndex ) {