mod/01_history/set/all/content_history.rb in card-1.16.4 vs mod/01_history/set/all/content_history.rb in card-1.16.5

- old
+ new

@@ -68,12 +68,16 @@ end result end def selected_content_action_id - @selected_action_id || - (@current_action && (new_card? || @current_action.new_content? || db_content_changed?) && @current_action.id) || - last_content_action_id + @selected_action_id || new_content_action_id || last_content_action_id +end + +def new_content_action_id + if @current_action && (new_card? || @current_action.new_content? || db_content_changed?) + @current_action.id + end end def last_action_id la = last_action and la.id end