diff --git a/admin/javascript/typecho.js b/admin/javascript/typecho.js index c0efc459..f3e2610e 100644 --- a/admin/javascript/typecho.js +++ b/admin/javascript/typecho.js @@ -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; + + $('').insertAfter(h); + } }); // Now we need to capture the mouse up and mouse move event