mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 17:24:51 +08:00
Fix smart annotation window position
This commit is contained in:
parent
967acb0af3
commit
a10e7de9a6
1 changed files with 3 additions and 0 deletions
|
@ -380,6 +380,9 @@ var SmartAnnotation = (function() {
|
|||
|
||||
function init() {
|
||||
$(field)
|
||||
.on("reposition.atwho", function(event, flag, query) {
|
||||
query.$el.find('.atwho-view').css('left', (flag.left + $(window).scrollLeft()) + 'px');
|
||||
})
|
||||
.atwho({
|
||||
at: '@',
|
||||
callbacks: {
|
||||
|
|
Loading…
Reference in a new issue