feat: Add 'atas' (minutes/records) management feature, and implement various improvements across UI, backend logic, and authentication.
This commit is contained in:
@@ -43,11 +43,11 @@ export function abrirCallWindowEmPopup(
|
||||
options: CallWindowOptions = {}
|
||||
): Window | null {
|
||||
const opts = { ...DEFAULT_OPTIONS, ...options };
|
||||
|
||||
|
||||
// Calcular posição se não fornecida
|
||||
let left = opts.left;
|
||||
let top = opts.top;
|
||||
|
||||
|
||||
if (left === undefined || top === undefined) {
|
||||
const posicao = calcularPosicaoCentralizada(opts.width, opts.height);
|
||||
left = left ?? posicao.left;
|
||||
@@ -138,7 +138,7 @@ export function verificarSuportePopup(): boolean {
|
||||
|
||||
// Tentar abrir um popup de teste
|
||||
const testPopup = window.open('about:blank', '_blank', 'width=1,height=1');
|
||||
|
||||
|
||||
if (!testPopup) {
|
||||
return false;
|
||||
}
|
||||
@@ -197,4 +197,3 @@ export function notificarJanelaPai(type: string, data?: unknown): void {
|
||||
window.location.origin
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user