screenshots animation js: added "new" (code checker complained about it missing), reformatted src
This commit is contained in:
parent
b9a73eab6c
commit
01b0ddd97b
@ -90,7 +90,10 @@
|
||||
</a>
|
||||
<script>
|
||||
var id = 0;
|
||||
var srcs = Array("{% static 'screenshots/hostview.png' %}","{% static 'screenshots/help.png' %}","{% static 'screenshots/overview.png' %}","{% static 'screenshots/generatesecret.png' %}");
|
||||
var srcs = new Array("{% static 'screenshots/hostview.png' %}",
|
||||
"{% static 'screenshots/help.png' %}",
|
||||
"{% static 'screenshots/overview.png' %}",
|
||||
"{% static 'screenshots/generatesecret.png' %}");
|
||||
setInterval(function(){
|
||||
$('#screenshots').attr('src', srcs[id]);
|
||||
$('#screenshots_url').attr('href', srcs[id]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user