@devexpress/utils
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -197,17 +197,2 @@ "use strict"; | ||
} | ||
function getAbsolutePositionY_Opera(curEl) { | ||
var isFirstCycle = true; | ||
if (curEl && DomUtils.isHTMLTableRowElement(curEl) && curEl.cells.length > 0) | ||
curEl = curEl.cells[0]; | ||
var pos = getAbsoluteScrollOffset_OperaFF(curEl, false); | ||
while (curEl != null) { | ||
pos += curEl.offsetTop; | ||
if (!isFirstCycle) | ||
pos -= curEl.scrollTop; | ||
curEl = curEl.offsetParent; | ||
isFirstCycle = false; | ||
} | ||
pos += document.body.scrollTop; | ||
return pos; | ||
} | ||
function getAbsolutePositionY_NS(curEl) { | ||
@@ -248,4 +233,2 @@ var pos = getAbsoluteScrollOffset_OperaFF(curEl, false); | ||
return getAbsolutePositionY_FF3(element); | ||
else if (browser_1.Browser.Opera) | ||
return getAbsolutePositionY_Opera(element); | ||
else if (browser_1.Browser.NetscapeFamily && (!browser_1.Browser.Firefox || browser_1.Browser.Version < 3)) | ||
@@ -252,0 +235,0 @@ return getAbsolutePositionY_NS(element); |
{ | ||
"name": "@devexpress/utils", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "DevExpress utils", | ||
@@ -5,0 +5,0 @@ "author": "DevExpress Inc.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
839453
16984