Skip to content

Commit

Permalink
Fix spacing in shareMail function
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-christiansen committed Jul 11, 2012
1 parent 6211343 commit 13b624d
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions assets/www/ios/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,20 @@ function shareTwitter() {
}

function shareMail() {
var url = app.getCurrentUrl().replace('.m.', '.');
var url = app.getCurrentUrl().replace( '.m.', '.' );
var title = app.getCurrentTitle();

window.plugins.emailComposer.showEmailComposerWithCB(function(res) {
console.log("Mail compose result: " + res);
},
title, // subject
url, // body
null, // toRecipients
null, // ccRecipients
null, // bccRecipients
false); // body is HTML

window.plugins.emailComposer.showEmailComposerWithCB(
function( res ) {
console.log( "Mail compose result: " + res );
},
title, // subject
url, // body
null, // toRecipients
null, // ccRecipients
null, // bccRecipients
false // body is HTML
);
}

function shareSafari() {
Expand Down

0 comments on commit 13b624d

Please sign in to comment.