File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
components/controlcenter/content Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1746,6 +1746,8 @@ var gProtectionsHandler = {
1746
1746
1747
1747
onPopupShown ( event ) {
1748
1748
if ( event . target == this . _protectionsPopup ) {
1749
+ window . ensureCustomElements ( "moz-button-group" ) ;
1750
+
1749
1751
PopupNotifications . suppressWhileOpen ( this . _protectionsPopup ) ;
1750
1752
1751
1753
window . addEventListener ( "focus" , this , true ) ;
Original file line number Diff line number Diff line change 409
409
< description id ="cookieBannerView-disable-site-warning " data-l10n-id ="protections-panel-cookie-banner-view-cookie-clear-warning "> </ description >
410
410
< description id ="cookieBannerView-enable-site-description " data-l10n-id ="protections-panel-cookie-banner-view-turn-on-description "> </ description >
411
411
</ vbox >
412
- < hbox class ="panel-footer protections-popup-cookieBannerView-footer ">
412
+ < html:moz-button-group class ="panel-footer protections-popup-cookieBannerView-footer ">
413
413
< button id ="protections-popup-cookieBannerView-cancel "
414
414
data-l10n-id ="protections-panel-cookie-banner-view-cancel "
415
415
oncommand ="gProtectionsHandler._protectionsPopupMultiView.goBack(); "
424
424
oncommand ="gProtectionsHandler.onCookieBannerToggleCommand() "
425
425
default ="true "
426
426
class ="subviewbutton panel-subview-footer-button " />
427
- </ hbox >
427
+ </ html:moz-button-group >
428
428
</ panelview >
429
429
</ panelmultiview >
430
430
</ panel >
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ button.text-link .button-text {
247
247
@media (-moz-platform : windows) {
248
248
/* Swap the primary and secondary action, because Windows
249
249
* platform conventions put the primary action on the left. */
250
- .panel-footer > button [default ] {
250
+ .panel-footer : not ( moz-button-group ) > button [default ] {
251
251
order : -1 ;
252
252
}
253
253
}
You can’t perform that action at this time.
0 commit comments