Browse Source

force layout after configuration changes

embed
Hakim El Hattab 12 years ago
parent
commit
d2b6ed4726
  1. 7
      js/reveal.js
  2. 4
      js/reveal.min.js

7
js/reveal.js

@ -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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save