Repository: incubator-nifi Updated Branches: refs/heads/nifi-27 a016bf47b -> d7b1113a8
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d7b1113a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/nf-common.js ---------------------------------------------------------------------- diff --git a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/nf-common.js b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/nf-common.js index 1cc8c99..a427e69 100644 --- a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/nf-common.js +++ b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/nf-common.js @@ -878,10 +878,11 @@ $(document).ready(function () { } function addHoverEffect(selector, normalStyle, overStyle) { - return $(selector).addClass(normalStyle).live('mouseover', function () { + $(document).on('mouseenter', selector, function () { $(this).removeClass(normalStyle).addClass(overStyle); - }).live('mouseout', function () { + }).on('mouseleave', selector, function () { $(this).removeClass(overStyle).addClass(normalStyle); - }) + }); + return $(selector).addClass(normalStyle); } }); \ No newline at end of file