Skip to content

Commit 95eeba8

Browse files
authored
Merge pull request #36780 from nextcloud/bugfix/noid/console-error-share-auth
2 parents 6bb0985 + 4cebfa9 commit 95eeba8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

core/js/publicshareauth.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ document.addEventListener('DOMContentLoaded', function() {
4747

4848
// Adds functionality to the request password button
4949
var passwordRequestButton = document.getElementById('request-password-button-not-talk');
50-
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
50+
if (passwordRequestButton) {
51+
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
52+
}
5153

5254
});

lib/private/Template/CSSResourceLocator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public function __construct(LoggerInterface $logger) {
4343
*/
4444
public function doFind($style) {
4545
$app = substr($style, 0, strpos($style, '/'));
46-
if (strpos($style, '3rdparty') === 0
47-
&& $this->appendIfExist($this->serverroot, $style.'.css')
46+
if ($this->appendIfExist($this->serverroot, $style.'.css')
4847
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css')
4948
) {
5049
return;

0 commit comments

Comments
 (0)