MediaWiki:Gadget-copyTable.js: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 34:
}
} );▼
} );
// If the table
// in
// OUTSIDE the scrolling area and stays pinned. Otherwise wrap the table.
var $target = /auto|scroll/.test( $parent.css( 'overflow-x' ) ) ? $parent : $table;
$target.wrap( '<div class="copy-table-wrapper">' );
$target.parent().append( $btn ); // button is now a sibling of the scroller
} );
} );
}() );
| |||