Skip to content

Commit c5621b9

Browse files
fix custom event usage
1 parent ce5acd3 commit c5621b9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/components/navigation/navigation.component.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/components/navigation/navigation.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/components/navigation/navigation.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ export class NavigationComponent {
2222
ngOnInit() {
2323
this._warenkorbService.update.subscribe(update => {
2424
if (update) {
25+
var self = this;
2526
this.neuerWarenkorb = true;
2627
setTimeout(function () {
27-
this.neuerWarenkorb = false;
28+
self.neuerWarenkorb = false;
2829
}, 500)
2930
}
3031
});

0 commit comments

Comments
 (0)