munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.

Home Page:https://chatify.munafio.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

constant variables in code.js is causing issues.

JeffGepiga opened this issue · comments

Good day.

constant variables inside js/code.js is causing issue when you already have existing variable for messagesContainer until csrfToken.

I would suggest to wrap every code with jquery function just like this

$(function(){
//all code inside code.js
});

Thank you