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:
farhatahmad
2019-03-05 15:07:14 -05:00
committed by Jesus Federico
parent 37af17fae1
commit ef8fc2c0e4
4 changed files with 29 additions and 31 deletions

View File

@ -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>