Skip to content

Commit

Permalink
feat(script): allow arbitrary element for Lightense
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 10, 2016
1 parent ad87e86 commit 488683c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<script src="{{ '/js/lightense.js?assets-inline' | prepend: amsf_theme_assets }}"></script>
<script>
window.addEventListener('load', function () {
var el = document.querySelectorAll('p > img:not(.no-lightense)');
var el = document.querySelectorAll('p > img:not(.no-lightense),.lightense');
Lightense(el);
}, false);
</script>
Expand Down

0 comments on commit 488683c

Please sign in to comment.