Run load scripts after ujs responces
This commit is contained in:
parent
c370b61abd
commit
86b9ed2079
11 changed files with 20 additions and 18 deletions
|
@ -14,7 +14,7 @@ function expandProcedureDescription() {
|
|||
descBody.classList.remove('read-more-collapsed');
|
||||
}
|
||||
|
||||
addEventListener('turbolinks:load', updateReadMoreVisibility);
|
||||
addEventListener('ds:page:update', updateReadMoreVisibility);
|
||||
addEventListener('resize', updateReadMoreVisibility);
|
||||
|
||||
delegate('click', '.read-more-button', expandProcedureDescription);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue