Update the preferences pages to Bootstrap

This commit is contained in:
Matt Rogers 2016-01-30 09:39:25 -06:00
parent d1a9e2746b
commit 7652791451
9 changed files with 123 additions and 65 deletions

View file

@ -467,10 +467,6 @@ var PreferencesPage = {
});
},
setup_behavior: function() {
$( "#tabs" ).tabs();
$( "button#prefs_submit" ).button();
$('input[name="user[auth_type]"]').change(function() {
var value = $('input[name="user[auth_type]"]:checked').val();
$('#open_id')[0].style.display = value ==='open_id' ? 'block' : 'none';