Sha256: d29fb04fe2fdfc09650295414ddbeec0371adec27be69b90ce9412b5b57469e2
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
"use strict"; var Index = (function() { function jumpListing() { document.body.classList.remove("gallery"); document.body.classList.add("listing"); } function jumpGallery() { document.body.classList.remove("listing"); document.body.classList.add("gallery"); } function init() { if(document.body.classList.contains("has-gallery")) jumpGallery(); else jumpListing(); } return { init: init, jumpListing: jumpListing, jumpGallery: jumpGallery }; })(); window.addEventListener("DOMContentLoaded", Index.init);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
servel-0.23.0 | app/js/index.js |
servel-0.22.0 | app/js/index.js |