Skip to content
Snippets Groups Projects
Commit 01fcc00c authored by colemanw's avatar colemanw
Browse files

Fix js strict error

parent bc028df3
No related branches found
No related tags found
No related merge requests found
......@@ -565,7 +565,7 @@ CRM.validate = CRM.validate || {
.live('mouseover',
function(e) {
$(this).addClass('crm-tooltip-active');
topDistance = e.pageY - $(window).scrollTop();
var topDistance = e.pageY - $(window).scrollTop();
if (topDistance < 300 | topDistance < $(this).children('.crm-tooltip-wrapper').height()) {
$(this).addClass('crm-tooltip-down');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment