[
https://issues.apache.org/jira/browse/CB-11227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275426#comment-15275426
]
ASF GitHub Bot commented on CB-11227:
-------------------------------------
GitHub user kicken opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/211
CB-11227 browser: Fix incorrect mime type
Fixes [CB-11227: Incorrect type in toDataUrl
call](https://issues.apache.org/jira/browse/CB-11227).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kicken/cordova-plugin-camera cb-11227
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/211.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #211
----
commit 150a033966221b56740ee78ef388fe6b194d4e5f
Author: Keith M <[email protected]>
Date: 2016-05-07T23:51:58Z
CB-11227 browser: Fix incorrect mime type
----
> Incorrect type in toDataUrl call.
> ---------------------------------
>
> Key: CB-11227
> URL: https://issues.apache.org/jira/browse/CB-11227
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Reporter: Keith Maika
> Priority: Trivial
> Labels: browser
>
> The first argument to canvas.toDataUrl() should be a mime type. Currently
> the values "img/png" is being given, however it should be "image/png".
> Because browsers default to a PNG image if an unknown type is given, this
> typo does not cause any loss of functionality.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]