Skip to content

Commit

Permalink
Update clockwork.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ToasterPanic authored Apr 19, 2023
1 parent 12bdf17 commit 44220b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clockwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class Clockwork {
this.isEmbedded = (window !== window.parent);
}
installApp(url) {
window.parent.postMessage(["install_app","installApp",url,clockwork_my_id], "*");
window.parent.postMessage(["installApp","installApp",url,clockwork_my_id], "*");
}
installTheme(url) {
window.parent.postMessage(["install_app","installApp",url,clockwork_my_id], "*");
sendNotification(description) {
window.parent.postMessage(["notifications","sendNotification",description,clockwork_my_id], "*");
}
}

0 comments on commit 44220b1

Please sign in to comment.