Loading src/blogi.cpp +3 −3 Changes for src/blogi.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1368,7 +1368,7 @@ void blogi::Blogi::Settings(libhttppp::HttpRequest& curreq,const int tid,const s setgui << "</ul>" << "<div class=\"set-sidebar-foot\">" << "<a class=\"set-close\" href=\"" << PlgArgs->config->getprefix() << "\">✕ " << blogi::tr(_lang,"Close") << "</a>" << "<a class=\"set-close\" href=\"" << PlgArgs->config->getstartpage() << "\">✕ " << blogi::tr(_lang,"Close") << "</a>" << "</div>" << "</div>" << "<div class=\"set-content\" id=\"set-content\">" Loading Loading @@ -1442,12 +1442,12 @@ void blogi::Blogi::Settings(libhttppp::HttpRequest& curreq,const int tid,const s // Close on overlay background click << "document.getElementById('set-overlay').addEventListener('click',function(ev){" << "if(ev.target===this) window.location.href='" << PlgArgs->config->getprefix() << "';" << "if(ev.target===this) window.location.href='" << PlgArgs->config->getstartpage() << "';" << "});" // Close on Escape key << "document.addEventListener('keydown',function(ev){" << "if(ev.key==='Escape') window.location.href='" << PlgArgs->config->getprefix() << "';" << "if(ev.key==='Escape') window.location.href='" << PlgArgs->config->getstartpage() << "';" << "});" // Auto-load first section Loading Loading
src/blogi.cpp +3 −3 Changes for src/blogi.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1368,7 +1368,7 @@ void blogi::Blogi::Settings(libhttppp::HttpRequest& curreq,const int tid,const s setgui << "</ul>" << "<div class=\"set-sidebar-foot\">" << "<a class=\"set-close\" href=\"" << PlgArgs->config->getprefix() << "\">✕ " << blogi::tr(_lang,"Close") << "</a>" << "<a class=\"set-close\" href=\"" << PlgArgs->config->getstartpage() << "\">✕ " << blogi::tr(_lang,"Close") << "</a>" << "</div>" << "</div>" << "<div class=\"set-content\" id=\"set-content\">" Loading Loading @@ -1442,12 +1442,12 @@ void blogi::Blogi::Settings(libhttppp::HttpRequest& curreq,const int tid,const s // Close on overlay background click << "document.getElementById('set-overlay').addEventListener('click',function(ev){" << "if(ev.target===this) window.location.href='" << PlgArgs->config->getprefix() << "';" << "if(ev.target===this) window.location.href='" << PlgArgs->config->getstartpage() << "';" << "});" // Close on Escape key << "document.addEventListener('keydown',function(ev){" << "if(ev.key==='Escape') window.location.href='" << PlgArgs->config->getprefix() << "';" << "if(ev.key==='Escape') window.location.href='" << PlgArgs->config->getstartpage() << "';" << "});" // Auto-load first section Loading