Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
team-presentation
Commits
9ab14374
Commit
9ab14374
authored
Jun 02, 2017
by
Hakim El Hattab
Browse files
change condition for detecting when there are horizontal slides
parent
0388c96e
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/reveal.js
View file @
9ab14374
...
...
@@ -2764,7 +2764,7 @@
}
// Flag if there are ANY horizontal slides, anywhere in the deck
if
(
dom
.
wrapper
.
querySelectorAll
(
'
.slides>section
:not(.stack)
'
).
length
)
{
if
(
dom
.
wrapper
.
querySelectorAll
(
'
.slides>section
'
).
length
>
1
)
{
dom
.
wrapper
.
classList
.
add
(
'
has-horizontal-slides
'
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment