mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-01-28 00:00:03 +08:00
fix tortuous
This commit is contained in:
@@ -54,13 +54,13 @@
|
||||
}
|
||||
var onReceiveNotification = function(event){
|
||||
try{
|
||||
var alert
|
||||
var alertContent
|
||||
if(device.platform == "Android"){
|
||||
alert = window.plugins.jPushPlugin.receiveNotification.alert;
|
||||
alertContent = window.plugins.jPushPlugin.receiveNotification.alert;
|
||||
}else{
|
||||
alert = event.aps.alert;
|
||||
alertContent = event.aps.alert;
|
||||
}
|
||||
$("#notificationResult").html(alert);
|
||||
$("#notificationResult").html(alertContent);
|
||||
|
||||
}
|
||||
catch(exeption){
|
||||
|
||||
Reference in New Issue
Block a user