server/core/js/avatar.js

10 lines
311 B
JavaScript
Raw Normal View History

2013-08-29 12:26:11 +00:00
$(document).ready(function(){
$('#header .avatardiv').avatar(OC.currentUser, 32);
2013-08-29 12:26:11 +00:00
// Personal settings
$('#avatar .avatardiv').avatar(OC.currentUser, 128);
// User settings
$.each($('td.avatar .avatardiv'), function(i, element) {
$(element).avatar($(element).parent().parent().data('uid'), 32);
2013-08-29 12:26:11 +00:00
});
});