Strutturato le Traduzioni del Sito Specifico

Inizio creazione di SalviamoIlPianeta.app
This commit is contained in:
Paolo Arena
2020-04-10 13:03:19 +02:00
parent 86c8b16913
commit efc97de202
42 changed files with 923 additions and 181 deletions

View File

@@ -467,6 +467,8 @@ namespace Actions {
return
}
console.log('createPushSubscription: INIT')
if (!('PushManager' in window)) {
return
}
@@ -508,6 +510,8 @@ namespace Actions {
// Calling the Server to Save in the MongoDB the Subscriber
function saveNewSubscriptionToServer(context, newSub) {
console.log('saveNewSubscriptionToServer')
// If already subscribed, exit
if (true) {
return