Archived
1
0
Fork 0

Avoid inline JS

This commit is contained in:
Varakh 2018-05-23 19:15:26 +02:00
parent a863713037
commit 1b130315d2
2 changed files with 3 additions and 6 deletions

View file

@ -0,0 +1,2 @@
$.material.init();
$("#dropdown-menu select").dropdown();

View file

@ -12,11 +12,6 @@
<script src="/theme/material/js/bootstrap.min.js"></script> <script src="/theme/material/js/bootstrap.min.js"></script>
<script src="/theme/material/js/material.js"></script> <script src="/theme/material/js/material.js"></script>
<script src="/theme/material/js/ripples.min.js"></script> <script src="/theme/material/js/ripples.min.js"></script>
<script>
$.material.init();
</script>
<script src="/theme/material/js/jquery.nouislider.min.js"></script> <script src="/theme/material/js/jquery.nouislider.min.js"></script>
<script src="/theme/material/js/jquery.dropdown.js"></script> <script src="/theme/material/js/jquery.dropdown.js"></script>
<script> <script src="/theme/material/js/custom.js"></script>
$("#dropdown-menu select").dropdown();
</script>