mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 14:09:54 -06:00
Keep dismissed banners hidden for a month
This commit is contained in:
@@ -425,7 +425,7 @@ function addBannerWarning(text, warning=true, noDismiss=false, forced=false) {
|
||||
}
|
||||
|
||||
function dismissBannerWarning(entry,cookieText) {
|
||||
$.cookie(cookieText,"true");
|
||||
$.cookie(cookieText,"true",{expires:30}); // reset after 1 month
|
||||
removeBannerWarning(entry);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user