uiw 4.22.1 → 4.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uiw.js +1 -1
- package/dist/uiw.min.js +1 -1
- package/package.json +60 -60
package/dist/uiw.js
CHANGED
|
@@ -5020,7 +5020,7 @@ function getElementHeight(elm) {
|
|
|
5020
5020
|
for (var i = 0; i < childNodes.length; i++) {
|
|
5021
5021
|
var childNode = childNodes[i];
|
|
5022
5022
|
var computedStyle = getComputedStyle(childNode);
|
|
5023
|
-
var height = childNode.offsetHeight + parseInt(computedStyle.marginTop) + parseInt(computedStyle.marginBottom) + parseInt(computedStyle.borderTopWidth) + parseInt(computedStyle.borderBottomWidth)
|
|
5023
|
+
var height = childNode.offsetHeight + +parseInt(computedStyle.marginTop) + parseInt(computedStyle.marginBottom) + parseInt(computedStyle.borderTopWidth) + parseInt(computedStyle.borderBottomWidth);
|
|
5024
5024
|
totalHeight += height;
|
|
5025
5025
|
var beforeStyle = getComputedStyle(childNode, '::before');
|
|
5026
5026
|
var afterStyle = getComputedStyle(childNode, '::after');
|