force layout after configuration changes
This commit is contained in:
		
							parent
							
								
									ed5ada0bd6
								
							
						
					
					
						commit
						d2b6ed4726
					
				
					 2 changed files with 5 additions and 6 deletions
				
			
		|  | @ -313,10 +313,6 @@ var Reveal = (function(){ | |||
| 		// Updates the presentation to match the current configuration values
 | ||||
| 		configure(); | ||||
| 
 | ||||
| 		// Force an initial layout, will thereafter be invoked as the window
 | ||||
| 		// is resized
 | ||||
| 		layout(); | ||||
| 
 | ||||
| 		// Read the initial hash
 | ||||
| 		readURL(); | ||||
| 
 | ||||
|  | @ -397,6 +393,9 @@ var Reveal = (function(){ | |||
| 			} | ||||
| 		} | ||||
| 
 | ||||
| 		// Force a layout to make sure the current config is accounted for
 | ||||
| 		layout(); | ||||
| 
 | ||||
| 	} | ||||
| 
 | ||||
| 	/** | ||||
|  |  | |||
							
								
								
									
										4
									
								
								js/reveal.min.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								js/reveal.min.js
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue