summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 7a499fd3b..155fdd841 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -51,10 +51,14 @@ function article_callback() {
}
}
-function view(id, feed_id) {
+function view(id, feed_id, skip_history) {
try {
debug("loading article: " + id + "/" + feed_id);
+
+ if (!skip_history) {
+ history_push("ARTICLE:" + id + ":" + feed_id);
+ }
enableHotkeys();