small fixes

This commit is contained in:
Josh
2017-06-14 14:04:16 -04:00
parent 8a613c8a00
commit fce383d858
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ updateMeetingText = function(meeting){
}
initialPopulate = function(){
if (window.location.href.includes('preferences')) { return; }
// Only populate on room resources.
if (!window.location.href.includes('rooms')) { return; }
$.get((window.location.href + '/request').replace('#', ''), function(data){
meetings = data['meetings']
for(var i = 0; i < meetings.length; i++){