diff options
author | michag86 <micha_g@arcor.de> | 2014-10-07 11:09:07 +0200 |
---|---|---|
committer | michag86 <micha_g@arcor.de> | 2014-10-07 11:09:07 +0200 |
commit | 0039099f5119224d9bfed5ee1d5659ed3df5f46c (patch) | |
tree | 9d0b4c0c3f1c4650a1455522a4d31a27d20b7b15 /settings/js/users/users.js | |
parent | f4a2ddbe31e7cb54dca7dcb487c827391d238e3a (diff) | |
download | nextcloud-server-0039099f5119224d9bfed5ee1d5659ed3df5f46c.tar.gz nextcloud-server-0039099f5119224d9bfed5ee1d5659ed3df5f46c.zip |
restrict $div to local scope
Diffstat (limited to 'settings/js/users/users.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 ed9999760a9..0cb5fe3e15c 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -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); } |