-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Conversation
- Removes extra tests no longer required
pageFixedToolbar: "ui-panel-fixed-toolbar", | ||
pageContentPrefix: "ui-panel-page-content", /* Used for wrapper and fixed toolbars position, display and open classes. */ | ||
animate: "ui-panel-animate" | ||
"ui-panel": "ui-panel-closed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arschmitz can correct me if I'm wrong, but I don't believe ui-panel-closed
is supposed to be a value, but rather a key. The value of a class key is supposed to be a set of style-related classes, IINM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose then there is not even a need of classes option here.
|
||
// if animating, add the class to do so | ||
this._addClass( this.element, "ui-panel ui-panel-closed", this._getPanelClasses() ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to pass this.element its the default, this._addClass( "ui-panel ui-panel-closed", this._getPanelClasses() );
this looks good once you make the 2 changes |
@arschmitz Done! |
👍 |
Fixes #7709