Updated albums' public link

Removed album.js.
This commit is contained in:
Bobby Wibowo 2018-04-29 20:17:02 +07:00
parent 31968ada06
commit 31ef82d37d
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 2 additions and 9 deletions

View File

@ -1,7 +0,0 @@
/* global LazyLoad */
const page = {}
window.onload = () => {
page.lazyLoad = new LazyLoad()
}

View File

@ -9,7 +9,7 @@
{% block scripts %}
<script type="text/javascript" src="../libs/lazyload/lazyload.min.js?v={{ globals.v1 }}"></script>
<script type="text/javascript" src="../js/album.js?v={{ globals.v1 }}"></script>
<script>var lazyLoad = new LazyLoad();</script>
{% endblock %}
{% block opengraph %}
@ -52,7 +52,7 @@
{% if downloadLink -%}
<a class="button is-primary is-outlined" title="Download album" href="{{ downloadLink }}">Download album</a>
{%- else -%}
<a class="button is-primary is-outlined" title="Download disabled" disabled>Download disabled</a>
<a class="button is-primary is-outlined" title="The album's owner has chosen to disable download" disabled>Download disabled</a>
{%- endif %}
</p>
</div>