mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-02-24 15:22:55 +08:00
parent
7551778e13
commit
39bff2f41d
@ -28,6 +28,7 @@ function takePicture(success, error, opts) {
|
||||
var input = document.createElement('input');
|
||||
input.style.position = 'relative';
|
||||
input.style.zIndex = HIGHEST_POSSIBLE_Z_INDEX;
|
||||
input.className = 'cordova-camera-select';
|
||||
input.type = 'file';
|
||||
input.name = 'files[]';
|
||||
|
||||
@ -61,6 +62,7 @@ function capture(success, errorCallback, opts) {
|
||||
var parent = document.createElement('div');
|
||||
parent.style.position = 'relative';
|
||||
parent.style.zIndex = HIGHEST_POSSIBLE_Z_INDEX;
|
||||
parent.className = 'cordova-camera-capture';
|
||||
parent.appendChild(video);
|
||||
parent.appendChild(button);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user