@xuda.io/runtime-bundle 1.0.869 → 1.0.871
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -8788,7 +8788,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8788
8788
|
// $elm.children().css('height', height);
|
|
8789
8789
|
|
|
8790
8790
|
$.each($elm.children(), function (key, elm) {
|
|
8791
|
-
if (!$(elm).
|
|
8791
|
+
if (!$(elm)[0].style.height && !$(elm).children().length) {
|
|
8792
8792
|
$(elm).css('height', height).addClass('viewport_height');
|
|
8793
8793
|
$(elm).data().xuData.viewport_height = $div.height();
|
|
8794
8794
|
}
|
|
@@ -8789,7 +8789,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8789
8789
|
// $elm.children().css('height', height);
|
|
8790
8790
|
|
|
8791
8791
|
$.each($elm.children(), function (key, elm) {
|
|
8792
|
-
if (!$(elm).
|
|
8792
|
+
if (!$(elm)[0].style.height && !$(elm).children().length) {
|
|
8793
8793
|
$(elm).css('height', height).addClass('viewport_height');
|
|
8794
8794
|
$(elm).data().xuData.viewport_height = $div.height();
|
|
8795
8795
|
}
|