Skip to content

Commit

Permalink
feat(script): inline Lightense
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 10, 2016
1 parent 43582b3 commit 3a58b97
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 @@ -21,7 +21,7 @@

<!-- The following code is an example use of including external JavaScript libraries -->
{% if page.plugin == 'lightense' %}
<script src="{{ '/js/lightense.js' | prepend: amsf_theme_assets }}"></script>
<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)');
Expand Down

0 comments on commit 3a58b97

Please sign in to comment.