mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
restrict $div to local scope
This commit is contained in:
parent
f4a2ddbe31
commit
0039099f51
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ $(document).ready(function () {
|
|||
.keypress(function (event) {
|
||||
if (event.keyCode === 13) {
|
||||
if ($(this).val().length > 0) {
|
||||
$div = $tr.find('div.avatardiv')
|
||||
var $div = $tr.find('div.avatardiv');
|
||||
if ($div.length) {
|
||||
$div.imageplaceholder(uid, displayName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue