Better fix for Safari user card position

Better than a2c6683e3b
This commit is contained in:
Penar Musaraj 2019-04-02 15:36:47 -04:00
parent ba727b2875
commit 44fe2eec03
1 changed files with 2 additions and 3 deletions

View File

@ -169,9 +169,8 @@ export default Ember.Mixin.create({
if (target) {
if (!this.site.mobileView) {
let position = target.offset();
if (target.parents(".d-header")) {
position = target.position();
position.left += 10;
if (target.parents(".d-header").length > 0) {
position.top = target.position().top;
}
if (position) {