Commit 6300126d by Thanh Hung Pham

Fix comment - remove js

parent 93f0a097
$(function() { $(function() {
// $( ".favorite_add" ).on( "click", function() {
// $.ajax({
// url: "/jobs/favorite",
// type: "GET",
// data: {"job_id" : $("#job_id").val()},
// dataType: "json",
// success: function(data) {
// window.location.reload();
// }
// });
// });
$(".favorite_remove").on("click", function() {
$.ajax({
url: "/jobs/favorite_remove",
type: "GET",
data: {"job_id" : $("#job_id").val()},
dataType: "json",
success: function(data) {
window.location.reload();
}
});
});
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment