mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 17:04:33 -05:00
Fixed checkCursorTag element not valid
This commit is contained in:
parent
880f6bcf02
commit
26c40dca2d
1 changed files with 1 additions and 1 deletions
|
@ -1781,7 +1781,7 @@ function checkCursorTag(coord, ele) {
|
||||||
buildMapInner();
|
buildMapInner();
|
||||||
var left = coord.left;
|
var left = coord.left;
|
||||||
var top = lineHeightMap[cursor.line] * defaultTextHeight; //coord.top;
|
var top = lineHeightMap[cursor.line] * defaultTextHeight; //coord.top;
|
||||||
top -= dropdown.closest('.CodeMirror-sizer > *').position().top;
|
top -= ele.closest('.CodeMirror-sizer > *').position().top;
|
||||||
var offsetLeft = -3;
|
var offsetLeft = -3;
|
||||||
var offsetTop = defaultTextHeight;
|
var offsetTop = defaultTextHeight;
|
||||||
var statusBarHeight = 0;
|
var statusBarHeight = 0;
|
||||||
|
|
Loading…
Reference in a new issue