Add popup fullscreen and timeout options
This commit is contained in:
@@ -112,13 +112,10 @@ loadDevTools().then(() => {
|
||||
}
|
||||
};
|
||||
window.browser_mod.showPopup("Unregister device", `Are you sure you want to unregister device ${deviceID}?`, {
|
||||
dismissable: false,
|
||||
primary_action: {
|
||||
label: "Yes",
|
||||
callback: unregisterCallback,
|
||||
},
|
||||
secondary_action: {
|
||||
label: "No",
|
||||
primary_action: "Yes",
|
||||
secondary_action: "No",
|
||||
callbacks: {
|
||||
primary_action: unregisterCallback,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user