Project

General

Profile

Defect #23751 » fix-tabs.diff

Edouard Cunibil, 2016-09-02 13:29

View differences:

public/javascripts/application.js
380 380
      }
381 381
    });
382 382
    var bw = $(el).parents('div.tabs-buttons').outerWidth(true);
383
    if ((tabsWidth < el.width() - bw) && (lis.first().is(':visible'))) {
383
    if ((tabsWidth < el.width() - bw) && (lis.length === 0 || lis.first().is(':visible'))) {
384 384
      el.find('div.tabs-buttons').hide();
385 385
    } else {
386 386
      el.find('div.tabs-buttons').show().children('button.tab-left').toggleClass('disabled', numHidden == 0);
(1-1/2)