You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/05/09 21:10:13 UTC

[jira] [Resolved] (CB-11227) Incorrect type in toDataUrl call.

     [ https://issues.apache.org/jira/browse/CB-11227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Khandelwal resolved CB-11227.
------------------------------------
    Resolution: Fixed

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org