Files
notifications-admin/app/assets/javascripts/errorBanner.js
Alex Janousek 3a39d910b3 Feat/webpack (#2998)
* 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
2025-10-14 13:20:58 -04:00

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;