Skip to content
Snippets Groups Projects
Verified Commit aaba7a87 authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

[web] fix expand/collapse text

parent 529c8478
No related branches found
No related tags found
No related merge requests found
Pipeline #323344 passed
......@@ -18,7 +18,8 @@
### Bugfixes
- Fixed a bug with the local storage that caused problems with outdated discovery information
- Fixed a bug in the webinterface with the local storage that caused problems with outdated discovery information
- Fixed a bug in the webinterface where the `Expand` `Collapse` buttons (e.g. in the consent screen) got the wrong text.
## mytoken 0.7.0
......
......@@ -24,7 +24,7 @@ $.fn.hideB = function () {
$('.my-expand').on('click', function () {
const expand = "Expand";
const collapse = "Collapse";
if ($(this).text() === expand) {
if ($(this).text().trim() === expand) {
$(this).text(collapse);
} else {
$(this).text(expand);
......
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