UPDATES EasySocial 4.0.15 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Closing toolbar pop-up box on click

tylr23 · ·
4:53 PM Sunday, 26 April 2020
None
Hi,

Here is some javascript that will close the pop-up box on click for conversations/notifications of the toolbar :


jQuery(document).ready(function(){
jQuery('#es.popbox--navbar').click(function(){
jQuery('#es.popbox--navbar').hide();
});
});


This javascript works, however it is not applied to the pop-up box as this pop-up is opened and loaded after the the page is loaded.

Can you tell me to which file I should add it so that it is applied at the moment that the pop-up box is open and not on pageload?
(I could not find any js in /module/mod_easysocial_toolbar/)
The replies under this section are restricted to logged in users or users with an active subscription with us