mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:35:55 +00:00
add function to open article summary in a popup window
This commit is contained in:
11
viewfeed.js
11
viewfeed.js
@@ -1892,3 +1892,14 @@ function invertHeadlineSelection() {
|
||||
function getArticleUnderPointer() {
|
||||
return post_under_pointer;
|
||||
}
|
||||
|
||||
function zoomToArticle(id) {
|
||||
try {
|
||||
var w = window.open("backend.php?op=view&mode=zoom&id=" + param_escape(id),
|
||||
"ttrss_zoom_" + id,
|
||||
"status=0,toolbar=0,location=0,width=450,height=300,scrollbars=1,menubar=0");
|
||||
|
||||
} catch (e) {
|
||||
exception_error("zoomToArticle", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user