summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-02-07 17:47:42 +0100
committerMorris Jobke <morris.jobke@gmail.com>2014-02-07 17:47:42 +0100
commit13fa0e2a9d3f89e4479f30b847c7c197276e5537 (patch)
treee20c11a8b291063abef51f50560bb2cfc7bc12e6 /settings
parent60cba9962da352d96489e4eb4110612cac49966a (diff)
downloadnextcloud-server-13fa0e2a9d3f89e4479f30b847c7c197276e5537.tar.gz
nextcloud-server-13fa0e2a9d3f89e4479f30b847c7c197276e5537.zip
Fix implied evals and doubled definition of variable
fixes #7119 fixes #7120 fixes #7121 fixes #7122
Diffstat (limited to 'settings')
-rw-r--r--settings/js/personal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index e6e1d538a19..3b876467756 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -158,7 +158,7 @@ $(document).ready(function(){
if(typeof timeout !== 'undefined'){
clearTimeout(timeout);
}
- timeout = setTimeout('changeDisplayName()',1000);
+ timeout = setTimeout(changeDisplayName, 1000);
}
});
@@ -173,7 +173,7 @@ $(document).ready(function(){
if(typeof timeout !== 'undefined'){
clearTimeout(timeout);
}
- timeout = setTimeout('changeEmailAddress()',1000);
+ timeout = setTimeout(changeEmailAddress, 1000);
}
});