mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Appease the Hound
This commit is contained in:
parent
738af386a8
commit
38b170225f
@ -2,8 +2,8 @@ $(document).ready(function() {
|
|||||||
return $(".fancy").fancybox({
|
return $(".fancy").fancybox({
|
||||||
afterLoad: function() {
|
afterLoad: function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: "POST",
|
||||||
url: "/photos/" + (this.element.data('id')) + "/views",
|
url: "/photos/" + (this.element.data("id")) + "/views",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user