diff options
author | michag86 <micha_g@arcor.de> | 2014-10-07 11:09:07 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-10-07 16:30:21 +0200 |
commit | a045f8cd3aa203ad35bc4e3af0ddd76a38dbc38e (patch) | |
tree | 98d39d30d6846288c946f3e78be56788f4e98928 /settings/js | |
parent | 4e74983676354cedcc2a77f297f30fcba07bd795 (diff) | |
download | nextcloud-server-a045f8cd3aa203ad35bc4e3af0ddd76a38dbc38e.tar.gz nextcloud-server-a045f8cd3aa203ad35bc4e3af0ddd76a38dbc38e.zip |
restrict $div to local scope
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 4c5d8b45c74..63bba72508e 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -615,7 +615,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); } |