mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
Use localStorage to only show 'learn more' banner on first load.
This commit is contained in:
parent
00528edd7c
commit
fe7646e939
2 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,7 @@ angular.module('dashboard', [])
|
|||
if (Settings.firstLoad) {
|
||||
opts.animation = true;
|
||||
Settings.firstLoad = false;
|
||||
localStorage.setItem('firstLoad', false);
|
||||
$('#masthead').show();
|
||||
|
||||
setTimeout(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue