aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/actions/RightPanelActions.js
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-25 13:14:06 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:47:57 +0100
commit15c4ed6bebdeb277c24bd92dab5bba900fc90de4 (patch)
tree0171f769ecda89185885ad0a792fdb570913962a /src/web/js/actions/RightPanelActions.js
parentbootstraping right panel (diff)
downloadnewspipe-15c4ed6bebdeb277c24bd92dab5bba900fc90de4.tar.gz
newspipe-15c4ed6bebdeb277c24bd92dab5bba900fc90de4.tar.bz2
newspipe-15c4ed6bebdeb277c24bd92dab5bba900fc90de4.zip
redoing constant, handling read / unread in menu, removing bad optim for loading articles
Diffstat (limited to 'src/web/js/actions/RightPanelActions.js')
-rw-r--r--src/web/js/actions/RightPanelActions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/js/actions/RightPanelActions.js b/src/web/js/actions/RightPanelActions.js
index 3cd549e5..7a7b935a 100644
--- a/src/web/js/actions/RightPanelActions.js
+++ b/src/web/js/actions/RightPanelActions.js
@@ -1,5 +1,5 @@
var JarrDispatcher = require('../dispatcher/JarrDispatcher');
-var RightActionTypes = require('../constants/JarrConstants').RightPanelActionTypes;
+var ActionTypes = require('../constants/JarrConstants');
var jquery = require('jquery');
var RightPanelStore = require('../stores/RightPanelStore');
@@ -10,7 +10,7 @@ var RightPanelActions = {
jquery.getJSON('api/v2.0/' + obj_type + '/' + obj_id, function(payload) {
_last_fetched_with = filters;
JarrDispatcher.dispatch({
- type: RightPanelActionTypes.LOAD_RIGHT_PANEL,
+ type: ActionTypes.LOAD_RIGHT_PANEL,
articles: payload.articles,
});
});
bgstack15