Added ID to table, remove debug statement.
parent
0ec4bd1de1
commit
e71aaddbe9
|
@ -66,7 +66,7 @@ Some options include a fixed footer using the tables tfoot element or cloning th
|
|||
<h2>Demo time!</h2>
|
||||
|
||||
<div id="tableBlock">
|
||||
<table class="myTable">
|
||||
<table id="demo" class="myTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Committer</th>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
$(document).ready(function() {
|
||||
$('#tableBlock').getCommits();
|
||||
console.log($('#tableBlock'));
|
||||
});
|
||||
|
||||
$.fn.extend({
|
||||
|
@ -40,7 +39,7 @@
|
|||
.append('<td class="link"><a class="button" href="http://github.com' + aMessages[message].commit.url + '">View Details</a></td>');
|
||||
}
|
||||
|
||||
$('#tableBlock > table.myTable').fixedHeaderTable({ height: '600', altClass: 'odd', footer: true, cloneHeadToFoot: true, themeClass: 'fancyTable' });
|
||||
$('#demo').fixedHeaderTable({ height: '600', altClass: 'odd', footer: true, cloneHeadToFoot: true, themeClass: 'fancyTable' });
|
||||
|
||||
return self;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue