forked from 0x2620/oxjs
fix video player bugs
This commit is contained in:
parent
e2529916b3
commit
f062c6001e
2 changed files with 14 additions and 7 deletions
|
|
@ -1293,9 +1293,15 @@ Ox.List = function(options, self) {
|
|||
}, rest ? {
|
||||
rest: rest
|
||||
} : {}));
|
||||
self.preview && that.triggerEvent('openpreview', {
|
||||
ids: ids
|
||||
});
|
||||
if (self.preview) {
|
||||
if (ids.length) {
|
||||
that.triggerEvent('openpreview', {
|
||||
ids: ids
|
||||
});
|
||||
} else {
|
||||
that.triggerEvent('closepreview');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue