make the js only script actually work
This commit is contained in:
parent
3798b63c4b
commit
6bd7171173
|
@ -1,2 +1,2 @@
|
|||
// This script displays all elements with `js-only` class.
|
||||
(()=>{let a=document.getElementsByClassName('js-only');for(let i=0;i!=a.length;i++)a[i].style.display='initial'})
|
||||
// This script displays all elements with `js-only` class
|
||||
(()=>{let a=document.getElementsByClassName('js-only');for(let i=0;i!=a.length;i++)a[i].style.display='initial'})()
|
|
@ -13,7 +13,6 @@
|
|||
<link rel="stylesheet" href="/form.css" />
|
||||
<link rel="stylesheet" href="/js-only.css" />
|
||||
<script src="/delay.js"></script>
|
||||
<script src="/js-only.js"></script>
|
||||
<title>blek! File</title>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
@ -45,5 +44,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script src="/js-only.js"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue