summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-02-28 18:50:22 +0100
committeradamhrv <adam@ahprojects.com>2019-02-28 18:50:22 +0100
commit6c631c88c9ecc2683b95534cfd15e82650c1b501 (patch)
tree786d993a57c8c4d6fba26cad5fbda056c346c418 /client/index.js
parent9e3bb35630349847bc005389c408f3072e0e22db (diff)
parente845766d970f4afefc2fc47367c3478413f98ff2 (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/index.js')
-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')