Skip to content

Commit

Permalink
Merge pull request #11356 from DanielRuf/fix/use-local-this
Browse files Browse the repository at this point in the history
fix: resolve invalid conflict resolution #11077 for v6.5
  • Loading branch information
ncoden committed Jun 27, 2018
2 parents 397084a + 77d43b8 commit e2571bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation.magellan.js
Expand Up @@ -102,7 +102,7 @@ class Magellan extends Plugin {
})
.on('click.zf.magellan', 'a[href^="#"]', function (e) {
e.preventDefault();
var arrival = _this.getAttribute('href');
var arrival = this.getAttribute('href');
_this.scrollToLoc(arrival);
});
});
Expand Down

0 comments on commit e2571bb

Please sign in to comment.