summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/functions.js')
-rwxr-xr-xjs/functions.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js
index 2e9e544a9..24e585847 100755
--- a/js/functions.js
+++ b/js/functions.js
@@ -2053,3 +2053,10 @@ function getSelectionText() {
return text.stripTags();
}
+
+function openArticlePopup(id) {
+ window.open("backend.php?op=article&method=view&mode=raw&html=1&zoom=1&id=" + id +
+ "&csrf_token=" + getInitParam("csrf_token"),
+ "ttrss_article_popup",
+ "height=900,width=900,resizable=yes,status=no,location=no,menubar=no,directories=no,scrollbars=yes,toolbar=no");
+} \ No newline at end of file