From 8c494a189a85b59a560fdb0fdd236dc1c498e241 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 8 Feb 2012 23:43:17 -0500 Subject: [PATCH] remove highlight effect & fadeout --- app/assets/javascripts/habits.js.coffee | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/app/assets/javascripts/habits.js.coffee b/app/assets/javascripts/habits.js.coffee index cfcbcc04f6..9defe40dee 100644 --- a/app/assets/javascripts/habits.js.coffee +++ b/app/assets/javascripts/habits.js.coffee @@ -4,9 +4,6 @@ $(document).ready -> - $(".one-time a.vote-link").click -> - $(this).parent().fadeOut() - $.each ['#habits', '#daily', '#one-offs'], (index, list_id) -> $(list_id).sortable axis: "y" @@ -20,15 +17,4 @@ $(document).ready -> type: "post" url: "/habits/sort" data: $(list_id).sortable("serialize") - dataType: "script" - complete: (request) -> - $(list_id).effect "highlight" - -(($) -> - $.fn.highlight = -> - $(this).css - color: "red" - background: "yellow" - - $(this).fadeIn() -) jQuery + dataType: "script" \ No newline at end of file