mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
remove highlight effect & fadeout
This commit is contained in:
parent
e715679281
commit
8c494a189a
1 changed files with 1 additions and 15 deletions
|
|
@ -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"
|
||||
Loading…
Reference in a new issue