This commit is contained in:
Harvey Zack committed 2018-10-16 15:49:26 +08:00
1 parent 3ed27338c5
commit 3e0c286c09
7 files changed
+43 -24

No files matched your search

+2 -2
View File
@@ -8,10 +8,10 @@ export default class Layers {
}
init() {
const { refs, events: { proxy } } = this.art;
const { refs, player, events: { proxy } } = this.art;
proxy(refs.$layers, 'click', event => {
if (event.path[0] === refs.$layers) {
refs.$video.pause();
player.pause();
}
});
}