parent
ba727b2875
commit
44fe2eec03
|
@ -169,9 +169,8 @@ export default Ember.Mixin.create({
|
||||||
if (target) {
|
if (target) {
|
||||||
if (!this.site.mobileView) {
|
if (!this.site.mobileView) {
|
||||||
let position = target.offset();
|
let position = target.offset();
|
||||||
if (target.parents(".d-header")) {
|
if (target.parents(".d-header").length > 0) {
|
||||||
position = target.position();
|
position.top = target.position().top;
|
||||||
position.left += 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (position) {
|
if (position) {
|
||||||
|
|
Loading…
Reference in New Issue