Avoid inline JS
This commit is contained in:
parent
a863713037
commit
1b130315d2
2 changed files with 3 additions and 6 deletions
2
public/theme/material/js/custom.js
Normal file
2
public/theme/material/js/custom.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
$.material.init();
|
||||
$("#dropdown-menu select").dropdown();
|
|
@ -12,11 +12,6 @@
|
|||
<script src="/theme/material/js/bootstrap.min.js"></script>
|
||||
<script src="/theme/material/js/material.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.dropdown.js"></script>
|
||||
<script>
|
||||
$("#dropdown-menu select").dropdown();
|
||||
</script>
|
||||
<script src="/theme/material/js/custom.js"></script>
|
Reference in a new issue