summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-01-12 01:35:53 +0000
committerChristopher Ng <chrng8@gmail.com>2023-01-13 23:19:28 +0000
commitf6aa5224c4c8a1e9e57f0a8069bd5f70054314e8 (patch)
treedf492c57c99bd6cfeea6d381faf1beb693cad89c /core/js
parentf7ff54860bef10c856542bb17ceb90e824c62dc8 (diff)
downloadnextcloud-server-f6aa5224c4c8a1e9e57f0a8069bd5f70054314e8.tar.gz
nextcloud-server-f6aa5224c4c8a1e9e57f0a8069bd5f70054314e8.zip
Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/tests/specs/contactsmenuSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/tests/specs/contactsmenuSpec.js b/core/js/tests/specs/contactsmenuSpec.js
index dba8a5580d0..eea1df1a7cd 100644
--- a/core/js/tests/specs/contactsmenuSpec.js
+++ b/core/js/tests/specs/contactsmenuSpec.js
@@ -32,7 +32,7 @@ describe('Contacts menu', function() {
* @returns {Promise}
*/
function openMenu() {
- return menu._toggleVisibility(true);
+ return menu.loadContacts();
}
beforeEach(function(done) {