summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-02-27 22:15:03 +0100
committerJules Laplace <julescarbon@gmail.com>2019-02-27 22:15:03 +0100
commit9bac173e85865e4f0d1dba5071b40eb7ebe3dd1a (patch)
treea8569788dbb6e6e4b71de0fd312863a1451c5740 /client
parent67896d3cdde877de940a282bebacd10ca1c56499 (diff)
new intro header for datasets page and sidebar
Diffstat (limited to 'client')
-rw-r--r--client/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/index.js b/client/index.js
index c9335f14..37906f30 100644
--- a/client/index.js
+++ b/client/index.js
@@ -110,9 +110,9 @@ function runApplets() {
function main() {
const paras = document.querySelectorAll('section p')
- if (paras.length) {
- paras[0].classList.add('first_paragraph')
- }
+ // if (paras.length) {
+ // paras[0].classList.add('first_paragraph')
+ // }
toArray(document.querySelectorAll('header .links a')).forEach(tag => {
if (window.location.href.match(tag.href)) {
tag.classList.add('active')