app/helpers/kpop_helper.rb in katalyst-kpop-2.0.5 vs app/helpers/kpop_helper.rb in katalyst-kpop-2.0.6

- old
+ new

@@ -12,13 +12,14 @@ turbo_stream.update("kpop", "") end # Render a turbo frame tag that can be targeted for rendering kpop modals. def kpop_frame_tag(**html_attributes, &block) - html_attributes[:class] ||= "kpop-container" - html_attributes[:data] ||= {} - html_attributes[:data][:controller] = "kpop" - html_attributes[:data][:action] = "scrim:hide@window->kpop#dismiss" + html_attributes[:class] ||= "kpop-container" + html_attributes[:data] ||= {} + html_attributes[:data][:controller] = "kpop" + html_attributes[:data][:action] = "scrim:hide@window->kpop#dismiss" + html_attributes[:data][:turbo_temporary] = "" turbo_frame_tag("kpop", **html_attributes) do capture(&block) if block end end