mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-10 22:24:10 +01:00
15 lines
332 B
JavaScript
Executable File
15 lines
332 B
JavaScript
Executable File
// DATA_TEMPLATE: dom_data
|
|
oTest.fnStart( "User given with is left when no scrolling" );
|
|
|
|
$(document).ready( function () {
|
|
$('#example')[0].style.width = "80%";
|
|
$('#example').dataTable();
|
|
|
|
oTest.fnTest(
|
|
"Check user width is left",
|
|
null,
|
|
function () { return $('#example').width() == 640; }
|
|
);
|
|
|
|
oTest.fnComplete();
|
|
} ); |