projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc028df
)
Fix js strict error
author
Coleman Watts
<coleman@civicrm.org>
Mon, 1 Apr 2013 17:38:32 +0000
(10:38 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 1 Apr 2013 17:38:32 +0000
(10:38 -0700)
js/Common.js
patch
|
blob
|
blame
|
history
diff --git
a/js/Common.js
b/js/Common.js
index 275c0c2ecc37fc21660f04c8c5b072800562ed59..077003b13fbb1c8b87feb5f4e525692a527f3518 100644
(file)
--- 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');
}