Skip to content

Commit b84c909

Browse files
author
Emmanouil Konstantinidis
committed
Require 'sound-notification' store to be included in the build
1 parent 62532c9 commit b84c909

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/js/stores/notifications.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ var Actions = require('../actions/actions');
66
var apiRequests = require('../utils/api-requests');
77
var SettingsStore = require('../stores/settings');
88

9+
require('../stores/sound-notification');
10+
911
var NotificationsStore = Reflux.createStore({
1012
listenables: Actions,
1113

src/js/stores/sound-notification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var SoundNotificationStore = Reflux.createStore({
5858
self.playSound();
5959
}
6060
if (showNotifications) {
61-
self.showNotification(countNew, response, latestNotification);
61+
this.showNotification(countNew, response, latestNotification);
6262
}
6363
}
6464

0 commit comments

Comments
 (0)