Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shower-presentation
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
Шардт Максим Александрович
shower-presentation
Commits
fc305432
Commit
fc305432
authored
Feb 17, 2014
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #175 from shower/tg/174-first-last
Fix Home/End navigation (#174)
parents
9fc1d0c6
47e4c112
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shower.js
shower.js
+2
-2
shower.min.js
shower.min.js
+1
-1
No files found.
shower.js
View file @
fc305432
...
@@ -493,7 +493,7 @@ window.shower = window.shower || (function(window, document, undefined) {
...
@@ -493,7 +493,7 @@ window.shower = window.shower || (function(window, document, undefined) {
shower
.
first
=
function
(
callback
)
{
shower
.
first
=
function
(
callback
)
{
var
slide
=
shower
.
slideList
[
shower
.
getCurrentSlideNumber
()];
var
slide
=
shower
.
slideList
[
shower
.
getCurrentSlideNumber
()];
slide
.
timing
&&
slide
.
stopTimer
();
slide
&&
slide
.
timing
&&
slide
.
stopTimer
();
shower
.
go
(
0
);
shower
.
go
(
0
);
if
(
typeof
(
callback
)
===
'function'
)
{
if
(
typeof
(
callback
)
===
'function'
)
{
...
@@ -508,7 +508,7 @@ window.shower = window.shower || (function(window, document, undefined) {
...
@@ -508,7 +508,7 @@ window.shower = window.shower || (function(window, document, undefined) {
shower
.
last
=
function
(
callback
)
{
shower
.
last
=
function
(
callback
)
{
var
slide
=
shower
.
slideList
[
shower
.
getCurrentSlideNumber
()];
var
slide
=
shower
.
slideList
[
shower
.
getCurrentSlideNumber
()];
slide
.
timing
&&
slide
.
stopTimer
();
slide
&&
slide
.
timing
&&
slide
.
stopTimer
();
shower
.
go
(
shower
.
slideList
.
length
-
1
);
shower
.
go
(
shower
.
slideList
.
length
-
1
);
if
(
typeof
(
callback
)
===
'function'
)
{
if
(
typeof
(
callback
)
===
'function'
)
{
...
...
shower.min.js
View file @
fc305432
This diff is collapsed.
Click to expand it.
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