aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 17:17:32 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 17:17:32 -0500
commitd2b6ed4726adacb3ead8784e8ac60175145142f0 (patch)
treeba4d9ea71adeddbfd32117d940386f6058bdff5f /js/reveal.js
parented5ada0bd64437cb2e1ac0826f6abe142ffb46f9 (diff)
downloadfreenode-live-2017-presentation-d2b6ed4726adacb3ead8784e8ac60175145142f0.tar
freenode-live-2017-presentation-d2b6ed4726adacb3ead8784e8ac60175145142f0.tar.gz
force layout after configuration changes
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/reveal.js b/js/reveal.js
index b218449..d425a87 100644
--- a/js/reveal.js
+++ b/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();
+
}
/**