euscanwww: Added watch/unwatch button to scan world
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
@ -53,6 +53,7 @@
|
||||
</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$(".favourite-button").click(function() {
|
||||
$.post($(this).data("url"), function() {
|
||||
$(".unfavourite-button").removeClass("hide");
|
||||
@ -66,6 +67,7 @@
|
||||
$(".unfavourite-button").addClass("hide");
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user