mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-25 13:26:26 +00:00
Enabling file support, passing tests
This commit is contained in:
parent
faeb5a0405
commit
445371465b
@ -30,7 +30,7 @@ export default class WindowHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enableFileTransfer() {
|
enableFileTransfer() {
|
||||||
if (!this.fileHandler.isSupported) {
|
if (this.fileHandler.isSupported) {
|
||||||
$('#send-file').click((e) => {
|
$('#send-file').click((e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('#fileInput').trigger('click');
|
$('#fileInput').trigger('click');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user