mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Fix problem in Android template example getPicture
This commit is contained in:
parent
6b24f2d547
commit
fae0c3dcfd
@ -88,7 +88,7 @@ function dump_pic(data) {
|
||||
viewport.style.position = "absolute";
|
||||
viewport.style.top = "10px";
|
||||
viewport.style.left = "10px";
|
||||
document.getElementById("test_img").src = "data:image/jpeg;base64," + data;
|
||||
document.getElementById("test_img").src = data;
|
||||
}
|
||||
|
||||
function fail(msg) {
|
||||
|
Loading…
Reference in New Issue
Block a user