Skip to content
Snippets Groups Projects
Commit 0a60c471 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed: templates in non first template group are not expandable

parent 33e395d7
Branches
Tags
No related merge requests found
$(document).ready(function() $(document).ready(function()
{ {
M.Collapsible.init(document.querySelector('.collapsible.expandable'), { M.Collapsible.init(document.querySelectorAll('.collapsible.expandable'), {
accordion: false accordion: false
}); });
...@@ -112,7 +112,6 @@ function searchTemplates(searchText) ...@@ -112,7 +112,6 @@ function searchTemplates(searchText)
searchText = searchText.toLowerCase() searchText = searchText.toLowerCase()
let templateItems = document.querySelectorAll('.template-item'); let templateItems = document.querySelectorAll('.template-item');
let collapsible = document.getElementById('templateCollapsible');
if(!searchText) if(!searchText)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment