forked from External/greenlight
GRN-69: Fixed javascript bug related to room validation (#388)
* Fixed javascript bug related to room validation * More javascript bugs * Removed room name length error * Fixed issue with room post url
This commit is contained in:
committed by
Jesus Federico
parent
37af17fae1
commit
ef8fc2c0e4
@ -31,20 +31,3 @@
|
||||
</div>
|
||||
|
||||
<%= render "shared/features" %>
|
||||
|
||||
|
||||
<script>
|
||||
var cycleImages = function(){
|
||||
var images = $('.img-cycle img');
|
||||
var now = images.filter(':visible');
|
||||
var next = now.next().length ? now.next() : images.first();
|
||||
var speed = 1500;
|
||||
|
||||
now.fadeOut(speed);
|
||||
next.fadeIn(speed);
|
||||
}
|
||||
|
||||
$(function() {
|
||||
setInterval(cycleImages, 5000);
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user