code formatting
This commit is contained in:
parent
73b69eb13d
commit
8222795c87
@ -1032,11 +1032,8 @@ var Reveal = (function(){
|
||||
|
||||
var wasActive = dom.wrapper.classList.contains( 'overview' );
|
||||
|
||||
var depth = 2500;
|
||||
|
||||
if( window.innerWidth < 400 ) {
|
||||
depth = 1000;
|
||||
}
|
||||
// Vary the depth of the overview based on screen size
|
||||
var depth = window.innerWidth < 400 ? 1000 : 2500;
|
||||
|
||||
dom.wrapper.classList.add( 'overview' );
|
||||
dom.wrapper.classList.remove( 'exit-overview' );
|
||||
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user