From 89c6d61536c4f78eee11cfd14c7b96a280e6b070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 20 Oct 2015 00:00:20 +0200 Subject: [PATCH] Tab must be resized when shown --- src/tab.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tab.js b/src/tab.js index 878dc2ca63..b5b07c2d09 100644 --- a/src/tab.js +++ b/src/tab.js @@ -214,6 +214,9 @@ id: tab.id }).html(tab.el) .appendTo(tabs.find('> .tab-content')); + tab_link.on('shown.bs.tab', function() { + Sao.View.resize(tab.el); + }); tab_link.tab('show'); };