You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2016/05/13 18:58:20 UTC

cordova-plugin-camera git commit: CB-11228 browser: Add classes for styling purposes

Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master 7551778e1 -> 39bff2f41


CB-11228 browser: Add classes for styling purposes

 This closes #212


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/39bff2f4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/39bff2f4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/39bff2f4

Branch: refs/heads/master
Commit: 39bff2f41dd38e64d4f90dc14c7a9b67c847065f
Parents: 7551778
Author: Keith M <ke...@aoeex.com>
Authored: Sat May 7 20:49:30 2016 -0400
Committer: Nikhil Khandelwal <ni...@microsoft.com>
Committed: Fri May 13 11:58:11 2016 -0700

----------------------------------------------------------------------
 src/browser/CameraProxy.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/39bff2f4/src/browser/CameraProxy.js
----------------------------------------------------------------------
diff --git a/src/browser/CameraProxy.js b/src/browser/CameraProxy.js
index 89ee3cc..635a9fb 100644
--- a/src/browser/CameraProxy.js
+++ b/src/browser/CameraProxy.js
@@ -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);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org