Skip to content

Commit

Permalink
fixing bug with changes to fix notification bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian committed Feb 16, 2024
1 parent 394db40 commit 6529030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webtexting.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if (window.notification_data) {
}

var subscription = await registration.pushManager.getSubscription();
console.log("permissionState = " , permissionState)
console.log("permissionState = " , subscription)
var buttonState = {state: "off"};
if(subscription) {
console.log(subscription.toJSON());
Expand Down

0 comments on commit 6529030

Please sign in to comment.