mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 19:34:15 -05:00
* First commit * Removed govuk for webpack. Modernized javascript importing. Removed dead js * Fixed tests, a few styling bugs * Fixed some table errors and regenerated backstop ref images * Updated tests for coverage * Changes from carlo suggestions
8 lines
272 B
JavaScript
8 lines
272 B
JavaScript
export const ErrorBanner = {
|
|
hideBanner: () => $('.banner-dangerous').addClass('display-none'),
|
|
showBanner: () => $('.banner-dangerous').removeClass('display-none')
|
|
};
|
|
|
|
window.NotifyModules = window.NotifyModules || {};
|
|
window.NotifyModules.ErrorBanner = ErrorBanner;
|