about summary refs log tree commit diff stats
path: root/app/assets/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/pokeviewer/pokemon.js.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/pokeviewer/pokemon.js.coffee b/app/assets/javascripts/pokeviewer/pokemon.js.coffee index 28a1ec1..a6fd326 100644 --- a/app/assets/javascripts/pokeviewer/pokemon.js.coffee +++ b/app/assets/javascripts/pokeviewer/pokemon.js.coffee
@@ -5,3 +5,5 @@ $ ->
5 $(this).children(".pkv-hover").hide() 5 $(this).children(".pkv-hover").hide()
6 $(".pkv-has-hover").mousemove (event) -> 6 $(".pkv-has-hover").mousemove (event) ->
7 $(this).children(".pkv-hover").offset({left: event.pageX + 16, top: event.pageY - 16}) 7 $(this).children(".pkv-hover").offset({left: event.pageX + 16, top: event.pageY - 16})
8 $(".in-emerald .pokemon-image img").mouseover ->
9 $(this).attr("src", $(this)[0].src)