aboutsummaryrefslogtreecommitdiff
path: root/Website/scripts
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 17:28:41 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 17:28:41 +0000
commit334a8367c3c5cf1f18ca82178c13959dd75dea4e (patch)
treef39306f279b39d8f6d50c11e846db5cb284bf89f /Website/scripts
parentcc6d30e4d44ea784bb3cfc8c67ffd9f684947d07 (diff)
downloadnewsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.tar.gz
newsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.tar.bz2
newsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.zip
Set class name for each article
Diffstat (limited to 'Website/scripts')
-rw-r--r--Website/scripts/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/Website/scripts/main.ts b/Website/scripts/main.ts
index 0f339a6..f34e2ef 100644
--- a/Website/scripts/main.ts
+++ b/Website/scripts/main.ts
@@ -15,6 +15,7 @@ class Article {
link.setAttribute('href', article_link);
this.Image.setAttribute('src', image_link);
this.Image.setAttribute('title', description);
+ this.Container.className = "Frame";
// make unit
this.Title.appendChild(link);