From: Edward Date: Tue, 2 Oct 2018 09:33:58 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=ecca10070dfd73ef458664940e9cd5ad17f54440 Roo/bootstrap/Button.js --- 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);