diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,15 +30,15 @@ function notify() { msg = new Notification("あなたはチンチンが大好き"); } //performing an https POST on the backend -$.post("https://" + window.hostname.location + "/api/msg", - {last-displayed: 0},// data to submit +$.post("https://" + window.location.hostname + "/api/msg", + {ld : 0},// data to submit function(data, status, jqXHR) { //callback function if (data == ""){ return; } console.log(data); } -} +); </script> <!--- Permission display--> <p class="pd">You have not granted notification permissions</p> |