Commit 0b5a684a62f94fdfa5d2f55bdd0c15fc74cd4539
Committed by
Gabriela Navarro
1 parent
24776b9e
Exists in
master
and in
5 other branches
Remove software block dead code
Showing
2 changed files
with
0 additions
and
28 deletions
Show diff stats
lib/software_communities_plugin.rb
public/mpog-software-block.js
| ... | ... | @@ -1,27 +0,0 @@ |
| 1 | -(function($){ | |
| 2 | - "use strict";// Make javascript less intolerant to errors | |
| 3 | - | |
| 4 | - var TRANSITION_TIME = 250;// milliseconds | |
| 5 | - | |
| 6 | - | |
| 7 | - function show_finality() { | |
| 8 | - var finality = $(this).children(".software-block-finality"); | |
| 9 | - | |
| 10 | - finality.stop().animate({"top" : "0%"}, TRANSITION_TIME); | |
| 11 | - } | |
| 12 | - | |
| 13 | - function hide_finality() { | |
| 14 | - var finality = $(this).children(".software-block-finality"); | |
| 15 | - | |
| 16 | - finality.stop().animate({"top" : "100%"}, TRANSITION_TIME); | |
| 17 | - } | |
| 18 | - | |
| 19 | - function set_events() { | |
| 20 | - $(".software-block").mouseover(show_finality); | |
| 21 | - $(".software-block").mouseout(hide_finality); | |
| 22 | - } | |
| 23 | - | |
| 24 | - $(document).ready(function(){ | |
| 25 | - set_events(); | |
| 26 | - }); | |
| 27 | -})(jQuery); | |
| 28 | 0 | \ No newline at end of file |