CssStickyHeaders: Fix in Edge browser

This commit is contained in:
Rob Garrison 2017-05-24 11:43:28 -05:00
parent 2915bf9fda
commit 0bac443942

View File

@ -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'),