- commit
- 211796baf0145ea13fea6dc02fab2c058a0c035c
- parent
- 3e42afaa7c64e4ba3a140aa945ff0008ea5a621b
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-05-11 12:47
fix closing dropdown
Diffstat
| M | content/js/message.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/js/message.js b/content/js/message.js
@@ -43,7 +43,7 @@ var autoMarkAsRead = function(e, msg) {
43 43
44 44 var toggleDropdown = function(msg, button) {
45 45 event.preventDefault();
46 -1 if (button.getAttribute('aria-expaned') === true) {
-1 46 if (button.getAttribute('aria-expanded') === 'true') {
47 47 button.setAttribute('aria-expanded', 'false');
48 48 } else {
49 49 button.setAttribute('aria-expanded', 'true');