You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Keith Maika (JIRA)" <ji...@apache.org> on 2016/05/07 23:50:12 UTC

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

Keith Maika created CB-11227:
--------------------------------

             Summary: 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


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