1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-14 02:23:51 +01:00
DataTables/media/unit_testing/tests_onhold/1_dom/2530-2.js

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();
} );