Skip to content

Commit

Permalink
Only refresh if not editing subs
Browse files Browse the repository at this point in the history
  • Loading branch information
berbaquero committed Mar 8, 2014
1 parent 7585df2 commit 905b067
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/reeddit.js
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@
}

function refreshCurrentStream() {
if (editingSubs) return;
doByCurrentSelection(function() { // if it's subreddit
if (M.currentSelection.name.toUpperCase() === 'frontPage'.toUpperCase()) C.Posts.load(urlInit + "r/" + M.Subreddits.getAllString() + "/");
else C.Posts.load(urlInit + "r/" + M.currentSelection.name + "/");
Expand Down

0 comments on commit 905b067

Please sign in to comment.