change query for credit payment and add sound effect for ordering
This commit is contained in:
@@ -5,8 +5,8 @@ App.order = App.cable.subscriptions.create('OrderChannel', {
|
||||
|
||||
received: function(data) {
|
||||
var hostname = location.hostname.trim();
|
||||
console.log(hostname)
|
||||
console.log(data.from)
|
||||
// console.log(hostname)
|
||||
// console.log(data.from)
|
||||
if(data.from == "" || hostname == data.from)
|
||||
{
|
||||
if (data.type == 'order') {
|
||||
|
||||
Reference in New Issue
Block a user