efront 3.24.5 → 3.24.7
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/coms/basic/queue.js +2 -2
- package/coms/kugou/song.less +4 -1
- package/coms/zimoli/cloneVisible.js +1 -0
- package/package.json +1 -1
- package/public/efront.js +1 -1
- package/readme.md +0 -1
package/coms/basic/queue.js
CHANGED
|
@@ -33,7 +33,7 @@ function queue(list, count = 1, context = null) {
|
|
|
33
33
|
oh(e);
|
|
34
34
|
return promised = null;
|
|
35
35
|
}
|
|
36
|
-
if (
|
|
36
|
+
if (promised === false && (!result[saved_cx] || !isFunction(result[saved_cx].then))) count++;
|
|
37
37
|
else Promise.resolve(result[saved_cx]).then(next, reject), promised = true;
|
|
38
38
|
};
|
|
39
39
|
if (count > list.length) {
|
|
@@ -42,7 +42,7 @@ function queue(list, count = 1, context = null) {
|
|
|
42
42
|
if (!(count >= 1)) {
|
|
43
43
|
count = 1;
|
|
44
44
|
}
|
|
45
|
-
while (
|
|
45
|
+
while (count-- > 0) run();
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
module.exports = queue;
|
package/coms/kugou/song.less
CHANGED
|
@@ -88,6 +88,7 @@ var isMaybeVisible = function (node) {
|
|
|
88
88
|
}
|
|
89
89
|
if (node.offsetParent) {
|
|
90
90
|
var parent = node.offsetParent;
|
|
91
|
+
if (!isMaybeVisible(parent)) return false;
|
|
91
92
|
if (getComputedStyle(parent).overflow === 'visible') return true;
|
|
92
93
|
return !(node.offsetLeft + node.offsetWidth - parent.scrollLeft <= parent.clientLeft ||
|
|
93
94
|
node.offsetTop + node.offsetHeight - parent.scrollTop <= parent.clientTop ||
|