Fixed some JS issues

This commit is contained in:
aggelosQQ 2017-01-23 00:38:18 +02:00
parent 67d985405d
commit 9ef51ac63b
3 changed files with 7 additions and 7 deletions

View file

@ -213,6 +213,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/js/materialize.min.js"></script>
<script src="https://use.fontawesome.com/cb2592f0cc.js"></script>
<script src="js/typed.js"></script>
<script src="js/index.js"></script>
<script src="js/moment.js"></script>
<script src="js/jquery.cookies.js"></script>
<script src="js/main.js"></script>

6
js/index.js Normal file
View file

@ -0,0 +1,6 @@
$(document).ready(function() {
$('.brand-logo').typed({
strings: ['<small class="hide-on-med-and-down">play.</small>TotalFreedom<small class="hide-on-med-and-down">.me</small>'],
typeSpeed: 30
});
});

View file

@ -30,13 +30,6 @@ $(document).ready(function() {
});
$(document).ready(function() {
$('.brand-logo').typed({
strings: ['<small class="hide-on-med-and-down">play.</small>TotalFreedom<small class="hide-on-med-and-down">.me</small>'],
typeSpeed: 30
});
});
$(document).ready(function() {
(new Date).getFullYear();