An actual minimum viable product, maybe? #11
|
@ -193,5 +193,6 @@
|
||||||
|
|
||||||
<!-- Custom scripts -->
|
<!-- Custom scripts -->
|
||||||
<script src="js/main.js"></script>
|
<script src="js/main.js"></script>
|
||||||
|
<script src="js/voting.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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