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