mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
6 lines
250 B
Text
6 lines
250 B
Text
page.visual_effect :fade, dom_id(@context, "container"), :duration => 0.5
|
|
page.delay(0.5) do
|
|
page[dom_id(@context, "container")].remove
|
|
end
|
|
page['badge_count'].replace_html @down_count
|
|
page.notify :notice, "Deleted context '#{@context.name}'", 5.0
|