From eaec6d0216f729ccbf9b8ef8a07291ebadaed6b2 Mon Sep 17 00:00:00 2001
From: 3eef8a28f26fb2bcc514e6f1938929a1f931762
<116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com>
Date: Fri, 10 Feb 2023 20:11:03 -0500
Subject: [PATCH] Set up event handling
---
src/GenerateHtml.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");