Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit de0c42e

Browse files
apsdehalarschmitz
authored andcommitted
Button: Apply inherit class if no theme is specified
Fixes #8465 Closes #8466
1 parent fdb70b6 commit de0c42e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/widgets/forms/button.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ $.widget( "ui.button", $.ui.button, {
4747
},
4848

4949
_themeElements: function() {
50+
this.options.theme = this.options.theme ? this.options.theme : "inherit";
51+
5052
return [
5153
{
5254
element: this.widget(),

0 commit comments

Comments
 (0)