Skip to content

Commit

Permalink
Fixes #252
Browse files Browse the repository at this point in the history
  • Loading branch information
WildcardSearch committed Aug 27, 2019
1 parent abfb947 commit 2e8cd6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Upload/jscripts/MentionMe/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,16 @@ var MentionMe = (function($, m) {
left = coords.left + 3,
top = coords.top - 5;

if (typeof m.customTextAreaContainerOffset !== "undefined") {
if (typeof m.customTextAreaContainerOffset.left !== "undefined") {
left = pi(m.customTextAreaContainerOffset.left);
}

if (typeof m.customTextAreaContainerOffset.top !== "undefined") {
top = pi(m.customTextAreaContainerOffset.top);
}
}

this.popup.show(left, top);
}

Expand Down

0 comments on commit 2e8cd6f

Please sign in to comment.