summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php4
-rw-r--r--viewfeed.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 299038434..d2c68a64f 100644
--- a/backend.php
+++ b/backend.php
@@ -227,10 +227,10 @@
$article = format_article($link, $id, false);
print $article['content'];
return;
- } else {
- catchupArticleById($link, $id, 0);
}
+ catchupArticleById($link, $id, 0);
+
if (!$_SESSION["bw_limit"]) {
foreach ($cids as $cid) {
if ($cid) {
diff --git a/viewfeed.js b/viewfeed.js
index fd1887976..2ffad4a3d 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -324,6 +324,8 @@ function view(id) {
last_requested_article = id;
+ console.log(query);
+
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {