jsで追加した要素にイベントが発生しない
$(document).on 'click', '.tab-pane.active .image-garally img', -> console.log $(this) return
もしくは親要素の下のクラスという指定の仕方をするとうまく動く
$('.tab-pane.active').on 'click', '.image-garally img', -> console.log 'boxをクリックしました!' return
$(document).on 'click', '.tab-pane.active .image-garally img', -> console.log $(this) return
もしくは親要素の下のクラスという指定の仕方をするとうまく動く
$('.tab-pane.active').on 'click', '.image-garally img', -> console.log 'boxをクリックしました!' return