File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 130130 const el = document . createElement ( 'div' ) ;
131131 if ( className ) {
132132 const clazz = className . toast || className ;
133- el . className = Array . isArray ( clazz ) ? clazz . join ( ', ' ) : ( typeof clazz === 'string' ? clazz : undefined ) ;
133+ el . className = Array . isArray ( clazz ) ? clazz . join ( ' ' ) : ( typeof clazz === 'string' ? clazz : undefined ) ;
134134 }
135135 applyCSS ( el , style . toast ) ;
136136 applyCSS ( el , css . toast || css ) ;
165165 const elb = document . createElement ( 'button' ) ;
166166 if ( button . className || className && className . button ) {
167167 const clazz = button . className || className . button ;
168- elb . className = Array . isArray ( clazz ) ? clazz . join ( ', ' ) : clazz ;
168+ elb . className = Array . isArray ( clazz ) ? clazz . join ( ' ' ) : clazz ;
169169 }
170170 elb . innerHTML = button . text ;
171171 applyCSS ( elb , style . button ) ;
You can’t perform that action at this time.
0 commit comments