Loading editor/widgets/googlereviews/googlereviews.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -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 + Loading Loading @@ -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 {} Loading Loading
editor/widgets/googlereviews/googlereviews.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -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 + Loading Loading @@ -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 {} Loading