From 0ea3736521aca1160a9c927b6a8e6a04724f67ee Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 13 Aug 2020 12:08:47 -0500 Subject: Remove client JS requirement from single blog view --- src/js/feed.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/js/feed.js (limited to 'src/js') diff --git a/src/js/feed.js b/src/js/feed.js deleted file mode 100644 index 87302f3..0000000 --- a/src/js/feed.js +++ /dev/null @@ -1,9 +0,0 @@ -function loadFeed(callback){ - var myRequest = new Request('/feed'); - fetch(myRequest).then(function(response) { - return response.text(); - }).then(function(response) { - document.getElementById("feed").innerHTML = response; - callback() - }); -} -- cgit v1.2.3