Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
2
2015-12-uni-ffm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CmS
2015-12-uni-ffm
Commits
e9b87411
Commit
e9b87411
authored
12 years ago
by
Hakim El Hattab
Browse files
Options
Downloads
Patches
Plain Diff
fixes bug where the .present class remained on previous slide (closes #88)
parent
e570265a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
js/reveal.js
+8
-1
8 additions, 1 deletion
js/reveal.js
with
9 additions
and
1 deletion
README.md
+
1
−
0
View file @
e9b87411
...
...
@@ -182,6 +182,7 @@ You can change the appearance of the speaker notes by editing the file at `plugi
-
New API method
```Reveal.getPreviousSlide()```
-
New API method
```Reveal.getCurrentSlide()```
-
New API method
```Reveal.getIndices()```
-
Fixes bug where the
```.present```
class was sometimes left on the previous slide
#### 1.4
-
Main
```#reveal container```
is now selected via a class instead of ID
...
...
This diff is collapsed.
Click to expand it.
js/reveal.js
+
8
−
1
View file @
e9b87411
/*!
* reveal.js 1.5 r
2
* reveal.js 1.5 r
3
* http://lab.hakim.se/reveal-js
* MIT licensed
*
...
...
@@ -731,6 +731,13 @@ var Reveal = (function(){
// Ensure that the previous slide is never the same as the current
previousSlide
=
null
;
}
// Solves an edge case where the previous slide maintains the
// 'present' class when navigating between adjacent vertical
// stacks
if
(
previousSlide
)
{
previousSlide
.
classList
.
remove
(
'
present
'
);
}
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment