Don't use HTML5 <header> to support avatars in IE8

This commit is contained in:
kondou 2013-09-03 16:52:15 +02:00
parent 65413a95dc
commit ce263df4c7
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari
.header-right { float:right; vertical-align:middle; padding:0.5em; } .header-right { float:right; vertical-align:middle; padding:0.5em; }
.header-right > * { vertical-align:middle; } .header-right > * { vertical-align:middle; }
header .avatardiv { #header .avatardiv {
float:right; float:right;
margin-top: 6px; margin-top: 6px;
margin-right: 6px; margin-right: 6px;

View File

@ -1,5 +1,5 @@
$(document).ready(function(){ $(document).ready(function(){
$('header .avatardiv').avatar(OC.currentUser, 32); $('#header .avatardiv').avatar(OC.currentUser, 32);
// Personal settings // Personal settings
$('#avatar .avatardiv').avatar(OC.currentUser, 128); $('#avatar .avatardiv').avatar(OC.currentUser, 128);
// User settings // User settings