🏗️ First time sync the css & js files from hexo theme NexT
This commit is contained in:
10
assets/js/third-party/chat/tidio.js
vendored
Normal file
10
assets/js/third-party/chat/tidio.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/* global tidioChatApi */
|
||||
|
||||
(function() {
|
||||
const chatButton = document.querySelector('.sidebar-button button');
|
||||
if (chatButton) {
|
||||
chatButton.addEventListener('click', () => {
|
||||
tidioChatApi.open();
|
||||
});
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user