forked from External/greenlight
		
	Fixed issues reported by Scrutinizer
This commit is contained in:
		| @@ -14,10 +14,12 @@ | |||||||
| // You should have received a copy of the GNU Lesser General Public License along | // You should have received a copy of the GNU Lesser General Public License along | ||||||
| // with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | // with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | /** global: Meeting */ | ||||||
|  |  | ||||||
| (function() { | (function() { | ||||||
|  |  | ||||||
|   var waitForModerator = function(url) { |   var waitForModerator = function(url) { | ||||||
|     localStorage.setItem("waitingName", $('.meeting-user-name').val()); |     Window.localStorage.setItem("waitingName", $('.meeting-user-name').val()); | ||||||
|     $.post(url + "/wait", {name: $('.meeting-user-name').val()}, function(html) { |     $.post(url + "/wait", {name: $('.meeting-user-name').val()}, function(html) { | ||||||
|       $(".center-panel-wrapper").html(html); |       $(".center-panel-wrapper").html(html); | ||||||
|     }); |     }); | ||||||
| @@ -33,7 +35,7 @@ | |||||||
|     Meeting.clear(); |     Meeting.clear(); | ||||||
|     var nameInput = $('.meeting-user-name'); |     var nameInput = $('.meeting-user-name'); | ||||||
|     if (!nameInput.val()) { |     if (!nameInput.val()) { | ||||||
|       var lastName = localStorage.getItem('lastJoinedName'); |       var lastName = Window.localStorage.getItem('lastJoinedName'); | ||||||
|       if (lastName !== 'undefined') { |       if (lastName !== 'undefined') { | ||||||
|         nameInput.val(lastName); |         nameInput.val(lastName); | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user