An actual minimum viable product, maybe? #11
|
@ -193,5 +193,6 @@
|
|||
|
||||
<!-- Custom scripts -->
|
||||
<script src="js/main.js"></script>
|
||||
<script src="js/voting.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
$(function() {
|
||||
$(".vote-up").click(function() {
|
||||
var review = $(this).attr("data-review-id");
|
||||
// Vote up
|
||||
});
|
||||
$(".vote-down").click(function() {
|
||||
var review = $(this).attr("data-review-id");
|
||||
// Vote down
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue