fix kelulusan

This commit is contained in:
hafifierahman
2021-01-17 08:47:05 +08:00
parent fb6d301884
commit 8f7ce44ee9
11 changed files with 340 additions and 208 deletions
+6 -4
View File
@@ -105,7 +105,7 @@
Try publishing an event to channel <code>my-channel</code>
with event name <code>my-event</code>.
</p>
<button onclick="trigtest()">Click</button>
<button>Click</button>
</body>
@@ -121,10 +121,12 @@
var channel = pusher.subscribe('status-liked');
channel.bind('my-event', function(data) {
let message = JSON.stringify(data);
console.log(data);
console.log(message);
console.log(data);
if(data.message == 'KOK LANAS')
console.log(data.message);
});
</script>