diff options
Diffstat (limited to 'node_modules/montage/ui/button.reel/button.js')
-rw-r--r-- | node_modules/montage/ui/button.reel/button.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/montage/ui/button.reel/button.js b/node_modules/montage/ui/button.reel/button.js index eead3124..9f1342f6 100644 --- a/node_modules/montage/ui/button.reel/button.js +++ b/node_modules/montage/ui/button.reel/button.js | |||
@@ -354,6 +354,12 @@ var Button = exports.Button = Montage.create(NativeControl, /** @lends module:"m | |||
354 | this._element.classList.remove("disabled"); | 354 | this._element.classList.remove("disabled"); |
355 | } | 355 | } |
356 | 356 | ||
357 | if (this._active) { | ||
358 | this._element.classList.add("active"); | ||
359 | } else { | ||
360 | this._element.classList.remove("active"); | ||
361 | } | ||
362 | |||
357 | this._drawLabel(this.label); | 363 | this._drawLabel(this.label); |
358 | } | 364 | } |
359 | } | 365 | } |