diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index b58df6fd2c1511bf224c3056952e51a9c9e6da59..83ef12a2549ff13171a55b71c87c9704cab054da 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -1680,7 +1680,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
                 var thPosTop = 0;
 
                 if (thPos && thPos.top) {
-                    thPosTop = thPosTop.top;
+                    thPosTop = thPos.top;
                 }
 
                 // we need to add thPosTop because the parent th is not position:relative. There may be a gap for the