summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 1a5e0c04f..5221bf4ce 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -114,7 +114,7 @@ function displayTabsButtons() {
tabsWidth += lis[i].getWidth() + 6;
}
}
- if (tabsWidth < el.getWidth() - 60) {
+ if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) {
el.down('div.tabs-buttons').hide();
} else {
el.down('div.tabs-buttons').show();