this.fluidbook = fluidbook;
if (this.isEnabled()) {
var $this = this;
- $(document).on('click', '.share', function () {
- var f = 'send' + ucfirst($(this).data('service'));
- var url = $(this).data("url");
- if (url == undefined || url == null || url == 'undefined') {
- url = '';
- }
- $this[f](url);
- $(this).closest('.mview').find('.back').click();
- return false;
- });
+ if (this.fluidbook.datas.phonegap != 'android') {
+ $(document).on('click', '.share', function () {
+ var f = 'send' + ucfirst($(this).data('service'));
+ var url = $(this).data("url");
+ if (url == undefined || url == null || url == 'undefined') {
+ url = '';
+ }
+ $this[f](url);
+ $(this).closest('.mview').find('.back').click();
+ return false;
+ });
+ }
$(document).on('click touchend', '[data-action="share"]', function () {
$this.fluidbook.menu.openView("share", $(this).data('extra'));