daily digest settings in User Settings

This commit is contained in:
Julian Lam
2014-04-16 16:47:51 -04:00
parent 7c08831aaf
commit 15bf804fa7
5 changed files with 15 additions and 6 deletions

View File

@@ -16,11 +16,11 @@ define(['forum/accountheader'], function(header) {
}
switch (input.attr('type')) {
case 'text' :
case 'textarea' :
case 'text':
case 'textarea':
settings[setting] = input.val();
break;
case 'checkbox' :
case 'checkbox':
settings[setting] = input.is(':checked') ? 1 : 0;
break;
}