diff --git a/js/publicshare.js b/js/publicshare.js index 8af92542b79..040600c2062 100644 --- a/js/publicshare.js +++ b/js/publicshare.js @@ -37,11 +37,9 @@ if ($(window).width() > 1111) { // Delay showing the Talk sidebar, as if it is shown too soon // after the page loads (even if it has loaded) there will be no - // transition and the join button will not be enabled. + // transition. setTimeout(function() { - this.showTalkSidebar().then(function() { - this._$joinRoomButton.prop('disabled', false); - }.bind(this)); + this.showTalkSidebar(); }.bind(this), 1000); } }, @@ -81,7 +79,7 @@ '
' + '
' + '

' + t('spreed', 'Discuss this file') + '

' + - ' ' + + ' ' + '
'); this._$joinRoomButton = this._$roomNotJoinedMessage.find('button');