Simplify code

parent c53b6479
Pipeline #542 passed with stage
in 1 minute and 20 seconds
......@@ -3,9 +3,8 @@
document.addEventListener('DOMContentLoaded', () => {
// DropCap.js
var dropcaps = document.querySelectorAll(".dropcap");
window.Dropcap.layout(dropcaps, 2);
window.Dropcap.layout(document.querySelectorAll(".dropcap"), 2);
// 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