mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Add one-offs to sortables
This commit is contained in:
parent
4546268519
commit
1a13a5f0aa
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ $(document).ready ->
|
|||
text: (api) ->
|
||||
$(this).next().html()
|
||||
|
||||
$.each ['#habits', '#daily'], (index, list_id) ->
|
||||
$.each ['#habits', '#daily', '#one-offs'], (index, list_id) ->
|
||||
$(list_id).sortable
|
||||
axis: "y"
|
||||
dropOnEmpty: false
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<div class='content'>
|
||||
<h2 class='title'>One-offs</h2>
|
||||
<div class='inner'>
|
||||
<ul id="daily">
|
||||
<ul id="one-offs">
|
||||
<% @one_time.each do |habit| %>
|
||||
<%= render :partial => "habit", :locals => { :habit => habit } %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue