mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 14:36:49 +08:00
[SSE] Header/Footer
Fix set position on click in header/footer
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user