diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp index 14297de..02dfcbe 100644 --- a/src/GenerateHtml.cpp +++ b/src/GenerateHtml.cpp @@ -235,7 +235,7 @@ void generate_course_page(const std::string& course_id, tag(os,TAG::BEGIN,R"(body class="search_plugin_added")"); tag(os,TAG::BEGIN,R"(div id="qlog-header")"); tag(os,TAG::INLINE) << R"()" << '\n'; - tag(os,TAG::BEGIN,R"R(form onsubmit="search_helper()")R"); + tag(os,TAG::BEGIN,R"R(form onsubmit="search_helper(event)")R"); tag(os,TAG::INLINE) << R"()" << '\n'; tag(os,TAG::END,"form"); tag(os,TAG::END,"div");