@ -699,7 +699,9 @@ var Reveal = (function(){
* Updates the state and link pointers of the controls.
*/
function updateControls() {
if (!config.controls || !dom.controls) return;
if ( !config.controls || !dom.controls ) {
return;
}
var routes = availableRoutes();