Commit 6bd2494 1 parent 3cc0edc commit 6bd2494 Copy full SHA for 6bd2494
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export default class Popover extends Element {
120
120
121
121
// Set the title and descriptions
122
122
this . titleNode . innerHTML = this . options . title ;
123
- this . descriptionNode . innerHTML = this . options . description ;
123
+ this . descriptionNode . innerHTML = this . options . description || '' ;
124
124
125
125
this . renderButtons ( ) ;
126
126
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export default class Driver {
295
295
}
296
296
297
297
let popover = null ;
298
- if ( elementOptions . popover && elementOptions . popover . description ) {
298
+ if ( elementOptions . popover && elementOptions . popover . title ) {
299
299
const popoverOptions = {
300
300
...this . options ,
301
301
...elementOptions . popover ,
You can’t perform that action at this time.
0 commit comments