mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Hide tip box on startup if disabled
This commit is contained in:
		| @@ -84,8 +84,11 @@ RED.sidebar.info = (function() { | ||||
|             content: content, | ||||
|             enableOnEdit: true | ||||
|         }); | ||||
|  | ||||
|         tips.start(); | ||||
|         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; } | ||||
|         } | ||||
|     })(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user