08.06.2023, 14:53
(12.01.2021, 12:45)admin Wrote: Use hide-widget class, add to custom JS:
No need to duplicate this code for multiple widgets, use the same class and it will work correctly.Code:$(function() {
$('.hide-widget').off('vclick').on('vclick', hideWidgets);
});
I have tried this solution. Now the widget close when i push the button but it didn't send any value to the direction group....what i am missing?