Skip to content
Snippets Groups Projects
Commit ef7327bd authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

access sidebar search widget correctly since vue will rewrite the dom, fixes #1116

Closes #1116

Merge request studip/studip!983
parent e73b505f
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ const Blubber = { ...@@ -51,7 +51,7 @@ const Blubber = {
}); });
}); });
jQuery("form.sidebar-search").on("submit", function (event) { $(document).on('submit', 'form.sidebar-search', function (event) {
this.waiting = true; this.waiting = true;
let search = jQuery("form.sidebar-search input[name=search]").val(); let search = jQuery("form.sidebar-search input[name=search]").val();
if ($('#messenger-course').length === 0) { if ($('#messenger-course').length === 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment