Project

General

Profile

Defect #42369 » patch_toggle_all_group.diff

Anton Nekrasov, 2025-03-07 04:13

View differences:

app/assets/javascripts/application.js
67 67
    if ($(this).hasClass('group')) {
68 68
      $(this).removeClass('open');
69 69
      $(this).find('.expander').switchClass('icon-expanded', 'icon-collapsed');
70
      updateSVGIcon($(this).find('.expander')[0], 'angle-right')
70 71
    } else {
71 72
      $(this).hide();
72 73
    }
......
79 80
    if ($(this).hasClass('group')) {
80 81
      $(this).addClass('open');
81 82
      $(this).find('.expander').switchClass('icon-collapsed', 'icon-expanded');
83
      updateSVGIcon($(this).find('.expander')[0], 'angle-down')
82 84
    } else {
83 85
      $(this).show();
84 86
    }
(3-3/3)