From 334a8367c3c5cf1f18ca82178c13959dd75dea4e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 18 Feb 2019 17:28:41 +0000 Subject: Set class name for each article --- Website/scripts/main.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'Website/scripts') 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); -- cgit v1.2.3-13-gbd6f