mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-05-01 15:38:55 +08:00
* [APP-934] add submit logic * [APP-934] add submit logic * [APP-934] add submit logic * [APP-934] add submit logic * Added replace remediation action * Add submit logic * Add submit alt text logic, generate AI alt text * Add AI generate request, add convert from SVG to png base64, added manual fix block * Add AI generate request, add convert from SVG to png base64, added manual fix block * Add texts, add remediation submit, fix logic to store remediation * Add texts, add remediation submit, fix logic to store remediation * Add texts, add remediation submit, fix logic to store remediation * Add texts, add remediation submit, fix logic to store remediation * Add texts, add remediation submit, fix logic to store remediation * Add texts, add remediation submit, fix logic to store remediation --------- Co-authored-by: Raz Ohad <admin@bainternet.info>
8 lines
280 B
JavaScript
8 lines
280 B
JavaScript
import { removeExistingFocus } from '@ea11y-apps/scanner/utils/focus-on-element';
|
|
|
|
export const closeWidget = (widget) => {
|
|
removeExistingFocus();
|
|
widget.remove();
|
|
document.body.style.removeProperty('margin-right');
|
|
document.body.prepend(window.ea11yScannerData.adminBar);
|
|
};
|