remove console.log

This commit is contained in:
Yan
2018-05-18 16:00:45 +06:30
parent 0e4d321142
commit 5e4b727d52

View File

@@ -7,8 +7,6 @@ App.order = App.cable.subscriptions.create('BillChannel', {
received: function(data) { received: function(data) {
var hostname = location.hostname.trim(); var hostname = location.hostname.trim();
console.log(hostname + data.from);
console.log(hostname==data.from.trim());
if(data.from == "" || hostname == data.from) if(data.from == "" || hostname == data.from)
{ {
if($('.table_'+data.table.id).hasClass('blue')){ if($('.table_'+data.table.id).hasClass('blue')){