mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Forcing global to be in newest order.
This commit is contained in:
parent
6eff208def
commit
d24511d3e1
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ NEWSBLUR.AssetModel = Backbone.Router.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
view_setting: function(feed_id, setting, callback) {
|
view_setting: function(feed_id, setting, callback) {
|
||||||
if (feed_id = "river:global" && setting == "order") return "newest";
|
if (feed_id == "river:global" && setting == "order") return "newest";
|
||||||
if (_.isUndefined(setting) || _.isString(setting)) {
|
if (_.isUndefined(setting) || _.isString(setting)) {
|
||||||
setting = setting || 'view';
|
setting = setting || 'view';
|
||||||
var s = setting.substr(0, 1);
|
var s = setting.substr(0, 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue