From 01fcc00c863c1aee0438062fb21520e808d52880 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 1 Apr 2013 10:38:32 -0700 Subject: [PATCH] Fix js strict error --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index 275c0c2ecc..077003b13f 100644 --- a/js/Common.js +++ b/js/Common.js @@ -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'); } -- 2.25.1