mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Resize info/help sidebars whenever sidebar is opened
This commit is contained in:
		| @@ -267,6 +267,7 @@ RED.sidebar.help = (function() { | ||||
|             hideTOC(); | ||||
|             showHelp(type); | ||||
|         } | ||||
|         resizeStack(); | ||||
|     } | ||||
|  | ||||
|     // TODO: DRY - projects.js | ||||
|   | ||||
| @@ -118,6 +118,8 @@ RED.sidebar.info = (function() { | ||||
|             enableOnEdit: true | ||||
|         }); | ||||
|  | ||||
|         RED.events.on("sidebar:resize", resizeStack); | ||||
|  | ||||
|         $(window).on("resize", resizeStack); | ||||
|         $(window).on("focus", resizeStack); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user