1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/assets/javascripts/photos.js.coffee
2013-06-03 09:05:50 +01:00

6 lines
172 B
CoffeeScript

$(document).ready ->
$(".fancy").fancybox
titlePosition: "inside"
onComplete: (links, index) ->
$.get "/photos/" + $(links[index]).attr("id") + "/log_view"