9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
$(document).ready(function(){
|
|
$('#header .avatardiv').avatar(OC.currentUser, 32);
|
|
// 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);
|
|
});
|
|
});
|