From ecca10070dfd73ef458664940e9cd5ad17f54440 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Oct 2018 17:33:58 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 8f72521a33..8116036bff 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -371,15 +371,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { { return this.el.select('.roo-button-text',true).first().dom.innerHTML; }, - hide: function() { - - - this.el.hide(); - }, - show: function() { - - this.el.show(); - }, + setWeight : function(str) { this.el.removeClass(this.weightClass); -- 2.39.2