mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Hide tip box on startup if disabled
This commit is contained in:
parent
29bd43413a
commit
b030e935ce
@ -84,8 +84,11 @@ RED.sidebar.info = (function() {
|
||||
content: content,
|
||||
enableOnEdit: true
|
||||
});
|
||||
|
||||
if (tips.enabled()) {
|
||||
tips.start();
|
||||
} else {
|
||||
tips.stop();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -333,7 +336,8 @@ RED.sidebar.info = (function() {
|
||||
return {
|
||||
start: startTips,
|
||||
stop: stopTips,
|
||||
next: nextTip
|
||||
next: nextTip,
|
||||
enabled: function() { return enabled; }
|
||||
}
|
||||
})();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user