Commit 676ffaba authored by jan.koester's avatar jan.koester
Browse files

tes

parent d9aca7db
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ namespace blogi {
                container->setAttribute("id", uid.c_str());
                el.appendChild(container);

                libhtmlpp::HtmlElement *script = new libhtmlpp::HtmlElement("script");
                libhtmlpp::ScriptElement js;
                std::string jsCode =
                    std::string("(function(){\n  var root=document.getElementById('") + uid +
@@ -217,8 +216,7 @@ namespace blogi {
    });
})();)JS";
                js.setScript(jsCode.c_str());
                script->appendChild(js);
                el.appendChild(script);
                el.appendChild(js);
            }

            void setChildElement(const EditPlugin &el) override {}