[Pkg-owncloud-commits] [owncloud] 206/258: restrict $div to local scope

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit a045f8cd3aa203ad35bc4e3af0ddd76a38dbc38e
Author: michag86 <micha_g at arcor.de>
Date:   Tue Oct 7 11:09:07 2014 +0200

    restrict $div to local scope
---
 settings/js/users/users.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 4c5d8b4..63bba72 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);
 						}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list