From b0a8d349fa2ef1541f4ab44af1beccc075dd609b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 29 Nov 2018 10:13:18 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 8c3900f20e..96964a3772 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -376,7 +376,8 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { setWeight : function(str) { - var outline = this.outline ? 'outline-' : ''; + this.weight = str; + var outline = this.outline ? 'outline-' : ''; if (str == 'default') { outline = 'outline-'; str = 'secondary'; -- 2.39.2