mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Reorder: add style to head
This commit is contained in:
parent
8c07fe24bc
commit
c0628be0a5
@ -56,7 +56,7 @@ $.tablesorter.addWidget({
|
||||
top: r.top - clickOffset[1],
|
||||
width: $th.outerWidth()
|
||||
})
|
||||
.appendTo('body')
|
||||
.appendTo('head')
|
||||
.find('th, td').addClass(wo.reorder_helperClass);
|
||||
$bar = $('<div class="' + wo.reorder_helperBar + '" />')
|
||||
.css({
|
||||
@ -64,7 +64,7 @@ $.tablesorter.addWidget({
|
||||
top : c.$table.find('thead').offset().top,
|
||||
height : $th.closest('thead').outerHeight() + c.$table.find('tbody').height()
|
||||
})
|
||||
.appendTo('body');
|
||||
.appendTo('head');
|
||||
positionBar(e);
|
||||
lastIndx = endIndex;
|
||||
},
|
||||
@ -179,4 +179,4 @@ $.tablesorter.addWidget({
|
||||
// add mouse coordinates
|
||||
$x = $('#main h1:last'); $(document).mousemove(function(e){ $x.html( e.pageX ); });
|
||||
|
||||
})(jQuery);
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user