CB-11228 browser: Add classes for styling purposes

This closes #212
This commit is contained in:
Keith M 2016-05-07 20:49:30 -04:00 committed by Nikhil Khandelwal
parent 7551778e13
commit 39bff2f41d

View File

@ -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);