Projet

Général

Profil

0001-general-always-unfold-targetted-cell-64563.patch

Frédéric Péters, 26 avril 2022 11:19

Télécharger (1007 octets)

Voir les différences:

Subject: [PATCH] general: always unfold targetted cell (#64563)

 combo/public/static/js/combo.public.js | 4 ++++
 1 file changed, 4 insertions(+)
combo/public/static/js/combo.public.js
267 267
        $cell_title.attr('aria-expanded', 'true');
268 268
      }
269 269
    }
270
    if (document.location.hash && document.location.hash.substr(1) == $cell.attr('id')) {
271
      // always unfold targeted cell
272
      $cell.removeClass('folded');
273
    }
270 274
    set_aria_expanded();
271 275
    $cell.find('> div > h2:first-child').on('keydown', function(ev) {
272 276
      if (ev.keyCode == 13 || ev.keyCode == 32) {  // enter || space
273
-