bugfix
This commit is contained in:
parent
f777d01c60
commit
5a267dff1e
@ -497,6 +497,9 @@ bricks.UiImage =class extends bricks.VBox {
|
|||||||
rate:2});
|
rate:2});
|
||||||
this.add_widget(this.camera_w);
|
this.add_widget(this.camera_w);
|
||||||
this.camera_w.bind('click', this.take_photo.bind(this));
|
this.camera_w.bind('click', this.take_photo.bind(this));
|
||||||
|
this.bind('dragover', {event) => {
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
this.bind('drop', this.dropHandle.bind(this));
|
this.bind('drop', this.dropHandle.bind(this));
|
||||||
this.input = document.createElement('input');
|
this.input = document.createElement('input');
|
||||||
this.input.type = 'file';
|
this.input.type = 'file';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user