mirror of https://github.com/onweru/compose.git

weru
07.10.2020 ce35e3935ccb1929e0596e5427fb4c31acb2d127
assets/js/functions.js
@@ -130,12 +130,12 @@
  contents.forEach(function(c){
    const cs = elems(c, context);
    if(cs.length) {
      cs.forEach(function(cx){
      cs.forEach(function(cx, index){
        if(cx.children.length >= 1) {
          wrap(cx);
          Array.from(cx.children).forEach(function(child){
            wrap(child);
          })
          wrap(cx);
        } else {
          wrap(cx);
        }