mirror of
https://github.com/typecho/typecho.git
synced 2025-03-22 10:59:41 +01:00
fix tfoot
This commit is contained in:
parent
e7692f1fc8
commit
fd9f5b5c25
@ -243,6 +243,15 @@ jQuery.tableDnD = {
|
||||
};
|
||||
// Now make the rows draggable
|
||||
jQuery.tableDnD.makeDraggable(this);
|
||||
|
||||
// fix chrome border bug
|
||||
if (0 == $('tfoot', this).length
|
||||
&& 0 < $('thead', this).length) {
|
||||
var h = $('thead', this), count = $('th', h).length;
|
||||
|
||||
$('<tfoot><tr><td colspan="' + count
|
||||
+ '"></td></tr></tfoot>').insertAfter(h);
|
||||
}
|
||||
});
|
||||
|
||||
// Now we need to capture the mouse up and mouse move event
|
||||
|
Loading…
x
Reference in New Issue
Block a user