mod/machines/lib/javascript/decko_slot.js.coffee in card-1.93.8 vs mod/machines/lib/javascript/decko_slot.js.coffee in card-1.93.9
- old
+ new
@@ -68,12 +68,12 @@
unless v[0]
# if slotdata = s.attr 'data-slot'
# v.attr 'data-slot', slotdata if slotdata?
# else #simple text (not html)
v = val
- if overlay
- s.prepend v
- v.addClass "slot-overlay"
+ if v.hasClass("_overlay")
+ s.wrapAll('<div class="overlay-container">')
+ s.before v
else
s.replaceWith v
v.trigger 'slotReady'
v