File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 297297 if ( invokee . popover ) {
298298 const canShow = ! invokee . matches ( ":popover-open" ) ;
299299 const shouldShow =
300- canShow && ( command === "togglepopover " || command === "showpopover " ) ;
301- const shouldHide = ! canShow && command === "hidepopover " ;
300+ canShow && ( command === "toggle-popover " || command === "show-popover " ) ;
301+ const shouldHide = ! canShow && command === "hide-popover " ;
302302
303303 if ( shouldShow ) {
304304 invokee . showPopover ( ) ;
307307 }
308308 } else if ( invokee . localName === "dialog" ) {
309309 const canShow = ! invokee . hasAttribute ( "open" ) ;
310- const shouldShow = canShow && command === "showmodal " ;
310+ const shouldShow = canShow && command === "show-modal " ;
311311 const shouldHide = ! canShow && command === "close" ;
312312
313313 if ( shouldShow ) {
You can’t perform that action at this time.
0 commit comments