forked from External/greenlight
Merge branch 'updates' into feature-qrcode
This commit is contained in:
commit
9db643a533
|
@ -25,7 +25,7 @@
|
||||||
var qrcode;
|
var qrcode;
|
||||||
|
|
||||||
var waitForModerator = function(url) {
|
var waitForModerator = function(url) {
|
||||||
Window.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);
|
||||||
});
|
});
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
Meeting.clear();
|
Meeting.clear();
|
||||||
var nameInput = $('.meeting-user-name');
|
var nameInput = $('.meeting-user-name');
|
||||||
if (!nameInput.val()) {
|
if (!nameInput.val()) {
|
||||||
var lastName = Window.localStorage.getItem('lastJoinedName');
|
var lastName = window.localStorage.getItem('lastJoinedName');
|
||||||
if (lastName !== 'undefined') {
|
if (lastName !== 'undefined') {
|
||||||
nameInput.val(lastName);
|
nameInput.val(lastName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue