mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
CssStickyHeaders: Fix in Edge browser
This commit is contained in:
parent
2915bf9fda
commit
0bac443942
@ -21,7 +21,8 @@
|
|||||||
var offst, adjustY,
|
var offst, adjustY,
|
||||||
$table = c.$table,
|
$table = c.$table,
|
||||||
$attach = $(wo.cssStickyHeaders_attachTo),
|
$attach = $(wo.cssStickyHeaders_attachTo),
|
||||||
isIE = 'ActiveXObject' in window, // target all versions of IE
|
// target all versions of IE
|
||||||
|
isIE = 'ActiveXObject' in window || window.navigator.userAgent.indexOf("Edge") > -1,
|
||||||
namespace = c.namespace + 'cssstickyheader ',
|
namespace = c.namespace + 'cssstickyheader ',
|
||||||
$thead = $table.children('thead'),
|
$thead = $table.children('thead'),
|
||||||
$caption = $table.children('caption'),
|
$caption = $table.children('caption'),
|
||||||
|
Loading…
Reference in New Issue
Block a user