[SSE] Header/Footer
Fix set position on click in header/footer
This commit is contained in:
parent
f1c4773e29
commit
d1085286ed
|
@ -770,9 +770,7 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event) {
|
if (event) {
|
||||||
var parent = $(event.currentTarget).parent(),
|
this.HFObject.click(id, event.pageX, event.pageY);
|
||||||
offset = parent.offset();
|
|
||||||
this.HFObject.click(id, event.pageX*Common.Utils.zoom() - offset.left, event.pageY*Common.Utils.zoom() - offset.top + parent.scrollTop());
|
|
||||||
} else
|
} else
|
||||||
this.HFObject.click(id);
|
this.HFObject.click(id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue