luci-base: cbi.js: properly handle cbi tooltips on nested elements
authorJo-Philipp Wich <jo@mein.io>
Mon, 5 Nov 2018 15:48:10 +0000 (16:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Nov 2018 19:46:04 +0000 (20:46 +0100)
commitbbb800556d89f3e1e98c66b7e31f996ed09128c0
tree920d43ef06e206e02055f42d9d872dcb28fc7be1
parentb468e1416dac79934815e42ec1b44a5de0d41ed8
luci-base: cbi.js: properly handle cbi tooltips on nested elements

Rework the tooltip event delegation logic to prevent hiding the tooltop
when the cursor is moved to a children of the tooltip container element.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js