forked from External/greenlight
increase buffer time & fix share load icon
This commit is contained in:
parent
4539219182
commit
9a74de431a
|
@ -18,7 +18,7 @@
|
|||
// the landing page using custom Actioncable events.
|
||||
|
||||
MEETINGS = {}
|
||||
LOADING_DELAY = 1250 // milliseconds.
|
||||
LOADING_DELAY = 3000 // milliseconds.
|
||||
|
||||
updatePreviousMeetings = function(){
|
||||
$("ul.previously-joined li").each(function(idx, li) {
|
||||
|
@ -46,7 +46,8 @@ updateMeetingText = function(meeting){
|
|||
|
||||
initialPopulate = function(){
|
||||
// Only populate on room resources.
|
||||
if (!window.location.href.includes('rooms')) { return; }
|
||||
chopped = window.location.href.split('/')
|
||||
if (!window.location.href.includes('rooms') || chopped[chopped.length - 2] == $('body').data('current-user')) { return; }
|
||||
$.get((window.location.href + '/request').replace('#', ''), function(data){
|
||||
meetings = data['meetings']
|
||||
for(var i = 0; i < meetings.length; i++){
|
||||
|
@ -65,7 +66,7 @@ initialPopulate = function(){
|
|||
// Remove from previous meetings if they are active.
|
||||
updatePreviousMeetings();
|
||||
$('.hidden-list').show();
|
||||
$('.fa-spinner').hide();
|
||||
$('.active-spinner').hide();
|
||||
}).error(function(){
|
||||
console.log('Not on a page to load meetings.')
|
||||
return true;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
<div class = 'col-xs-2'>
|
||||
<br><br>
|
||||
<i class="fa fa-spinner fa-spin fa-3x" aria-hidden="true"></i>
|
||||
<i class="active-spinner fa fa-spinner fa-spin fa-3x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class = 'col-xs-3'>
|
||||
<div class="list-group text-center hidden-list" hidden>
|
||||
|
|
Loading…
Reference in New Issue