diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-18 17:28:41 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-18 17:28:41 +0000 |
commit | 334a8367c3c5cf1f18ca82178c13959dd75dea4e (patch) | |
tree | f39306f279b39d8f6d50c11e846db5cb284bf89f /Website/scripts/main.ts | |
parent | cc6d30e4d44ea784bb3cfc8c67ffd9f684947d07 (diff) | |
download | newsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.tar.gz newsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.tar.bz2 newsaggregator-334a8367c3c5cf1f18ca82178c13959dd75dea4e.zip |
Set class name for each article
Diffstat (limited to 'Website/scripts/main.ts')
-rw-r--r-- | Website/scripts/main.ts | 1 |
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); |