|
|
@ -548,7 +548,10 @@ define(['underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'webrtc.adapte |
|
|
|
var t = event.type; |
|
|
|
var t = event.type; |
|
|
|
var opts = $.extend({}, options); |
|
|
|
var opts = $.extend({}, options); |
|
|
|
$timeout.cancel(ttlTimeout); |
|
|
|
$timeout.cancel(ttlTimeout); |
|
|
|
$scope.userid = $scope.suserid = null; |
|
|
|
if (!opts.soft) { |
|
|
|
|
|
|
|
// Reset login information for anything not soft.
|
|
|
|
|
|
|
|
$scope.userid = $scope.suserid = null; |
|
|
|
|
|
|
|
} |
|
|
|
switch (t) { |
|
|
|
switch (t) { |
|
|
|
case "open": |
|
|
|
case "open": |
|
|
|
t = "waiting"; |
|
|
|
t = "waiting"; |
|
|
|