[FIX] use modern jquery syntax for listening to hover events
Relates: https://avan.tech/item98009
Note: there is still one remaining warning regarding the deprecation of the jQuery.fn.hover() which requires the lib cwspear/bootstrap-hover-dropdown
to be removed or replaced.