From 45078afb2ac7de96bc3058edcd6e4794f7cea6c0 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 30 Dec 2018 17:57:51 -0600 Subject: [PATCH] Use let instead of var; code style updates --- www/js/core.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/js/core.js b/www/js/core.js index 5ef0dfbc..83406b49 100644 --- a/www/js/core.js +++ b/www/js/core.js @@ -1,10 +1,10 @@ 'use strict'; -document.addEventListener('DOMContentLoaded', function() { +document.addEventListener('DOMContentLoaded', function(){ if(hljs){ - var blocks = document.querySelectorAll('code.html.full, code.css.full, figure code.html'); - for (var i=0; i