From 06a66255d5c0036698a05019ae41c8939a65a9a0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Oct 2015 10:36:31 +0800 Subject: [PATCH] Roo/bootstrap/Header.js --- Roo/bootstrap/Header.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Header.js b/Roo/bootstrap/Header.js index ad7f99e567..e1d02dc011 100644 --- a/Roo/bootstrap/Header.js +++ b/Roo/bootstrap/Header.js @@ -32,9 +32,11 @@ Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component, { getAutoCreate : function(){ + + var cfg = { tag: 'h' + (1 *this.level), - html: this.html || 'fill in html' + html: this.html || (this.cn ? '' : 'fill in html') } ; return cfg; -- 2.39.2