Skip to content

Commit

Permalink
carousel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Breezen committed Apr 15, 2017
1 parent 37de58c commit c629d58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions public/assets/js/my.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$('.carousel').carousel({
interval: 100
});
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js"></script>
<script src="assets/js/my.js"></script>

<!--app config-->
<script src="app.js"></script>
Expand Down
8 changes: 1 addition & 7 deletions public/views/home.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,4 @@ <h2>Earn</h2>
</div>
</div>
</div>
</div>

<script>
$('.carousel').carousel({
interval: 2000
});
</script>
</div>

0 comments on commit c629d58

Please sign in to comment.