acable test
This commit is contained in:
@@ -7,6 +7,7 @@ App.order = App.cable.subscriptions.create('BillChannel', {
|
|||||||
|
|
||||||
received: function(data) {
|
received: function(data) {
|
||||||
var hostname = location.hostname.strip;
|
var hostname = location.hostname.strip;
|
||||||
|
console.log(hostname + data.from);
|
||||||
console.log(hostname==data.from);
|
console.log(hostname==data.from);
|
||||||
if(data.from == "" || hostname == data.from)
|
if(data.from == "" || hostname == data.from)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user