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