first commit
This commit is contained in:
1
public/newtemplate/js/apps/chat.js
vendored
Normal file
1
public/newtemplate/js/apps/chat.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(t){"use strict";let e="chatBody",c="toggle-chat-item",o="toggle-close-chat";t.Chat={},t.Chat={open:function(t){let o=document.querySelectorAll("."+c);o.forEach(t=>{let c=document.getElementById(e);t.addEventListener("click",(function(e){e.preventDefault(),o.forEach(t=>{t.classList.remove("active")}),t.classList.add("active"),c.classList.add("show-chat")}))})},close:function(){let t=document.querySelectorAll("."+o),a=document.querySelectorAll("."+c);t.forEach(t=>{let c=document.getElementById(e);t.addEventListener("click",(function(t){t.preventDefault(),a.forEach(t=>{t.classList.remove("active")}),c.classList.remove("show-chat")}))})}},t.Chat.init=function(){t.Chat.open(),t.Chat.close()},t.winLoad(t.Chat.init)}(NioApp);
|
1
public/newtemplate/js/apps/chat.min.js
vendored
Normal file
1
public/newtemplate/js/apps/chat.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
undefined
|
1
public/newtemplate/js/apps/inbox.js
vendored
Normal file
1
public/newtemplate/js/apps/inbox.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(e){"use strict";e.Inbox={reply:function(e){document.querySelectorAll(e).forEach(e=>{e.addEventListener("click",(function(n){n.preventDefault(),void 0===n.delegateTarget&&e.classList.toggle("is-collapsed")}))})}},e.Inbox.init=function(){e.Inbox.reply(".toggle-reply")},e.winLoad(e.Inbox.init)}(NioApp);
|
1
public/newtemplate/js/apps/inbox.min.js
vendored
Normal file
1
public/newtemplate/js/apps/inbox.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
undefined
|
Reference in New Issue
Block a user