projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70704d2
)
issue56, check if next-link-anchor is still here in case user decided to click around...
author
Andreas Unterkircher
<unki@netshadow.at>
Sat, 21 Jul 2007 17:33:23 +0000
(17:33 +0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sat, 21 Jul 2007 17:33:23 +0000
(17:33 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@234
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.js
patch
|
blob
|
history
diff --git
a/phpfspot.js
b/phpfspot.js
index 06f20e0314d763ec6211a3ea79a9a4bec6caa65e..588298ab3691f53755d013e34bdf31aadcfa73b5 100644
(file)
--- a/
phpfspot.js
+++ b/
phpfspot.js
@@
-315,9
+315,11
@@
function nextSlide()
function autoBrowse()
{
- var next_link = document.getElementById('next_link').href;
- window.location.href = next_link;
- setTimeout("autoBrowse()", 5000);
+ if(document.getElementById('next_link')) {
+ var next_link = document.getElementById('next_link').href;
+ window.location.href = next_link;
+ setTimeout("autoBrowse()", 5000);
+ }
}
var startup = 1;