summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-12-04 09:26:09 +0100
committerAndrew Dolgov <[email protected]>2006-12-04 09:26:09 +0100
commit1dc8dba07c9c57016a7bac4dd8ce3804024597b9 (patch)
tree7d557c820e526c73e522ec55394e5f4d2fc23d7a /viewfeed.js
parentd4b4b9dece1ce4bb7d1bc56004c0dde318b8008f (diff)
add experimental operation history stack
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();