Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
my-cucumbers-ru-github-io
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Лотуга Данила Сергеевич
my-cucumbers-ru-github-io
Commits
a06c84a0
Commit
a06c84a0
authored
Jan 20, 2013
by
miripiruni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename: innerNavigationCompleted -> isInnerNavCompleted
parent
78fbef62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
shower.js
shower.js
+5
-6
No files found.
shower.js
View file @
a06c84a0
...
...
@@ -595,7 +595,7 @@ window.shower = (function(window, document, undefined) {
if
(
e
.
altKey
||
e
.
ctrlKey
||
e
.
metaKey
)
{
return
;
}
var
currentSlideNumber
=
shower
.
getCurrentSlideNumber
(),
i
nnerNavigation
Completed
=
true
;
i
sInnerNav
Completed
=
true
;
switch
(
e
.
which
)
{
case
116
:
// F5
...
...
@@ -644,20 +644,19 @@ window.shower = (function(window, document, undefined) {
if
(
shower
.
isSlideMode
())
{
// Inner navigation is "completed" if current slide have
// no inner navigation or inner navigation is fully shown
i
nnerNavigation
Completed
=
!
slideList
[
currentSlideNumber
].
hasInnerNavigation
||
i
sInnerNav
Completed
=
!
slideList
[
currentSlideNumber
].
hasInnerNavigation
||
-
1
===
shower
.
increaseInnerNavigation
(
currentSlideNumber
);
}
else
{
// Also inner navigation is always "completed" if we are in
// list mode
i
nnerNavigation
Completed
=
true
;
i
sInnerNav
Completed
=
true
;
}
// NOTE: First of all check if there is no current slide
if
(
-
1
===
currentSlideNumber
||
i
nnerNavigation
Completed
-
1
===
currentSlideNumber
||
i
sInnerNav
Completed
)
{
currentSlideNumber
++
;
shower
.
go
(
currentSlideNumber
);
// We must run slideshow only in full mode
if
(
shower
.
isSlideMode
())
{
shower
.
runInnerNavigation
(
currentSlideNumber
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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