mirror of
https://github.com/DataTables/DataTables.git
synced 2026-04-25 03:00:08 -04:00
Dev: Update demo css and js for Editor 1.10 integration
This commit is contained in:
@@ -282,3 +282,8 @@ div.tabs>div h1 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
div.column_half {
|
||||
float: left;
|
||||
width: 49%;
|
||||
padding-right: 1%;
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ $(document).ready( function () {
|
||||
// php
|
||||
var phpTab = $('ul.tabs li').eq(4).css('display', 'none');
|
||||
|
||||
$(document).on( 'init.dt', function ( e, settings ) {
|
||||
$(document).on( 'init.dt.demoSSP', function ( e, settings ) {
|
||||
if ( settings.oFeatures.bServerSide ) {
|
||||
if ( $.isFunction( settings.ajax ) ) {
|
||||
return;
|
||||
@@ -101,7 +101,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
// Tabs
|
||||
$('ul.tabs li').click( function () {
|
||||
$('ul.tabs').on( 'click', 'li', function () {
|
||||
$('ul.tabs li.active').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user