Archived
2
0
This commit is contained in:
Craig
2020-04-05 03:17:06 +00:00
parent fa64f930a9
commit 9d484a49d0
12 changed files with 31 additions and 31 deletions

View File

@ -327,7 +327,7 @@
this.$accessor.video.setPlayable(false)
})
this._video.addEventListener('error', event => {
this._video.addEventListener('error', (event) => {
this.$log.error(event.error)
this.$accessor.video.setPlayable(false)
})
@ -352,7 +352,7 @@
.then(() => {
this.onResise()
})
.catch(err => this.$log.error)
.catch((err) => this.$log.error)
} catch (err) {
this.$log.error(err)
}
@ -391,7 +391,7 @@
if (this.hosting && navigator.clipboard && typeof navigator.clipboard.readText === 'function') {
navigator.clipboard
.readText()
.then(text => {
.then((text) => {
if (this.clipboard !== text) {
this.$accessor.remote.setClipboard(text)
this.$accessor.remote.sendClipboard(text)