annotate app/assets/javascripts/show_paste.coffee @ 395:26f8c634052c

Complete rework.
author nanaya <me@myconan.net>
date Sat, 27 Jun 2015 14:46:01 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents:
diff changeset
1 $(document).ready ->
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents:
diff changeset
2 $("[id^=L]").click (e) ->
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents:
diff changeset
3 console.log $(e.target).attr("id")
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents:
diff changeset
4 document.location = "##{$(e.target).attr("id")}"