0001-Fix-invalid-selector-in-displayTabsButtons-function_v2.patch

Marius BALTEANU, 2020-05-03 08:34

Download (569 Bytes)

View differences:

public/javascripts/application.js
467 467
        numHidden++;
468 468
      }
469 469
    });
470
    var bw = $(el).parents('div.tabs-buttons').outerWidth(true);
470
    var bw = $(el).find('div.tabs-buttons').outerWidth(true);
471 471
    if ((tabsWidth < el.width() - bw) && (lis.length === 0 || lis.first().is(':visible'))) {
472 472
      el.find('div.tabs-buttons').hide();
473 473
    } else {