[SSE] Header/Footer

Fix set position on click in header/footer
This commit is contained in:
Alexander Trofimov 2020-05-12 15:37:52 +03:00
parent f1c4773e29
commit d1085286ed

View file

@ -770,9 +770,7 @@ define([
}
if (event) {
var parent = $(event.currentTarget).parent(),
offset = parent.offset();
this.HFObject.click(id, event.pageX*Common.Utils.zoom() - offset.left, event.pageY*Common.Utils.zoom() - offset.top + parent.scrollTop());
this.HFObject.click(id, event.pageX, event.pageY);
} else
this.HFObject.click(id);