Better fix for Safari user card position

Better than a2c6683e3bc4486418fafd4c9f59151557ca84d6
This commit is contained in:
Penar Musaraj 2019-04-02 15:36:47 -04:00
parent ba727b2875
commit 44fe2eec03

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) {