mod/machines/lib/javascript/decko_slot.js.coffee in card-1.96.0 vs mod/machines/lib/javascript/decko_slot.js.coffee in card-1.96.1
- old
+ new
@@ -70,10 +70,10 @@
setSlotContent: (val, _overlay=false) ->
s = @slot()
v = $(val)[0] && $(val) || val
if typeof(v) == "string"
- # Needed to support "TEXT: result" pattern in success (eg deleting nested cards)
+ # needed to support unwrapped views
s.replaceWith v
else
s.setSlotContentFromElement v
v