mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-24 13:06:20 +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() {
|
||||
if (!this.fileHandler.isSupported) {
|
||||
if (this.fileHandler.isSupported) {
|
||||
$('#send-file').click((e) => {
|
||||
e.preventDefault();
|
||||
$('#fileInput').trigger('click');
|
||||
|
Loading…
x
Reference in New Issue
Block a user