summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-27 07:57:22 +0300
committerAndrew Dolgov <[email protected]>2020-02-27 07:57:22 +0300
commit71ff485fbffcec64e36bd4441689f019a6d52535 (patch)
treeb8d4904850bccb603ba8739fac275cca88d3215d /js
parent671a2a0275f78de62eff184238c1f5c5e01edc99 (diff)
af_readability: add article button to embed content of a specific article
Diffstat (limited to 'js')
-rw-r--r--js/Article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Article.js b/js/Article.js
index 35b282d5d..50447c2a1 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -194,7 +194,7 @@ define(["dojo/_base/declare"], function (declare) {
const comments = this.formatComments(hl);
const originally_from = this.formatOriginallyFrom(hl);
- const article = `<div class="post post-${hl.id}">
+ const article = `<div class="post post-${hl.id}" data-article-id="${hl.id}">
<div class="header">
<div class="row">
<div class="title"><a target="_blank" rel="noopener noreferrer"