Simplify code

parent c53b6479
Pipeline #542 passed with stage
in 1 minute and 20 seconds
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
// DropCap.js // DropCap.js
var dropcaps = document.querySelectorAll(".dropcap"); window.Dropcap.layout(document.querySelectorAll(".dropcap"), 2);
window.Dropcap.layout(dropcaps, 2);
// Responsive-Nav // Responsive-Nav
var nav = responsiveNav(".nav-collapse"); responsiveNav(".nav-collapse");
}); });
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment