updates
This commit is contained in:
@@ -96,15 +96,15 @@ export class Popup {
|
||||
if (this.opts.toolbar) {
|
||||
|
||||
if (!this.card.toolbar) {
|
||||
this.card.toolbar = El('div', { class: 'top-bar-inner' });
|
||||
this.card.ui.prepend(El('div', { class: 'top-bar' }, this.card.toolbar));
|
||||
this.card.toolbar = El('div', { className: 'top-bar-inner' });
|
||||
this.card.ui.prepend(El('div', { className: 'top-bar' }, this.card.toolbar));
|
||||
}
|
||||
|
||||
this.card.toolbar.append(this.opts.toolbar);
|
||||
}
|
||||
|
||||
if (this.card.toolbar) {
|
||||
this.card.toolbar.append( El('a', { class: 'ic-close' }) );
|
||||
this.card.toolbar.append( El('a', { className: 'ic-close' }) );
|
||||
}
|
||||
|
||||
this.card.ui.classList.add('sp-popup');
|
||||
|
||||
Reference in New Issue
Block a user