| 10727 | 10727 | if ($(e.target).hasClass('text_pole')) { |
| 10728 | 10728 | return; |
| 10729 | 10729 | } |
| 10730 | 10730 | varconst icondrawer = $(this).findclosest('.inline-drawer-icon'); |
| 10731 | + const icon = drawer.find('.inline-drawer-icon'); |
| 10732 | + const drawerContent = drawer.find('.inline-drawer-content'); |
| 10731 | 10733 | icon.toggleClass('down up'); |
| 10732 | 10734 | icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up'); |
| 10733 | | - $(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle({ |
| 10735 | + drawerContent.stop().slideToggle({ |
| 10734 | 10736 | complete: () => { |
| 10735 | 10737 | $(this).css('height', ''); |
| 10736 | 10738 | }, |