summaryrefslogtreecommitdiffstats
path: root/static/functions/user.js
diff options
context:
space:
mode:
authorGit <git@what.cd>2012-11-01 08:00:21 +0000
committerGit <git@what.cd>2012-11-01 08:00:21 +0000
commit138fa8ed3e53c2be5287be7cd5010a1d26359426 (patch)
tree5085ec987c943e8f236fd999669399db9c3d2932 /static/functions/user.js
parente95360f48f39907372c92af49fe8cba839ce30f3 (diff)
downloadGazelle-138fa8ed3e53c2be5287be7cd5010a1d26359426.zip
Gazelle-138fa8ed3e53c2be5287be7cd5010a1d26359426.tar.gz
Gazelle-138fa8ed3e53c2be5287be7cd5010a1d26359426.tar.bz2
Empty commit
Diffstat (limited to 'static/functions/user.js')
-rw-r--r--static/functions/user.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/functions/user.js b/static/functions/user.js
index 785cbc7..ad93561 100644
--- a/static/functions/user.js
+++ b/static/functions/user.js
@@ -144,4 +144,15 @@ function ToggleWarningAdjust(selector) {
$('#ReduceWarningTR').hide();
$('#ReduceWarning').raw().disabled = true;
}
+}
+
+addDOMLoadEvent(ToggleIdenticons);
+function ToggleIdenticons() {
+ var selected = $('#disableavatars').raw().selectedIndex;
+ if(selected == 2 || selected == 3) {
+ $('#identicons').show();
+ }
+ else {
+ $('#identicons').hide();
+ }
} \ No newline at end of file