Fix DOM so it works for both LTR and RTL layouts.

A more compact verison of the same from Jowin's plugin.
pull/51/head
eladxxx 11 years ago
parent 1a39b5fee3
commit 1d87cbe6c6

@ -8,9 +8,9 @@
/* Set the defaults for DataTables initialisation */ /* Set the defaults for DataTables initialisation */
$.extend( true, $.fn.dataTable.defaults, { $.extend( true, $.fn.dataTable.defaults, {
"sDom": "sDom":
"<'row'<'col-xs-6'l><'col-xs-6'f>r>"+ "<'row'<'col-xs-6'<'pull-left'l>><'col-xs-6'<'pull-right'f>>r>"+
"t"+ "t"+
"<'row'<'col-xs-6'i><'col-xs-6'p>>", "<'row'<'col-xs-6'<'pull-left'i>><'col-xs-6'<'pull-right'p>>>",
"oLanguage": { "oLanguage": {
"sLengthMenu": "_MENU_ records per page" "sLengthMenu": "_MENU_ records per page"
} }

Loading…
Cancel
Save