fix kelulusan
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user