This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 507751a  [OPENMEETINGS-2702] wb-tools selector is fixed
507751a is described below

commit 507751afe227ff112c724139cb6389b3a63bd451
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Tue Nov 16 22:16:56 2021 +0700

    [OPENMEETINGS-2702] wb-tools selector is fixed
---
 openmeetings-web/src/main/front/wb/src/wb-tools.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/openmeetings-web/src/main/front/wb/src/wb-tools.js 
b/openmeetings-web/src/main/front/wb/src/wb-tools.js
index 752319c..c65f3e5 100644
--- a/openmeetings-web/src/main/front/wb/src/wb-tools.js
+++ b/openmeetings-web/src/main/front/wb/src/wb-tools.js
@@ -54,9 +54,7 @@ module.exports = class WbTools {
                        c.find('a').off().click(function(e) {
                                e.stopImmediatePropagation()
                                const stub = $(this).find('.stub');
-                               if (stub.hasClass(ACTIVE)) {
-                                       $(this).dropdown('toggle')
-                               } else {
+                               if (!stub.hasClass(ACTIVE)) {
                                        _btnClick(stub.data('toolType'));
                                        stub.addClass(ACTIVE);
                                }

Reply via email to