mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
Merge pull request #274 from 0ip/patch-4
Fix for 'Fix IE8 userpicker color issue' :)
This commit is contained in:
commit
3bce184189
1 changed files with 8 additions and 1 deletions
|
@ -711,7 +711,14 @@ var paduserlist = (function()
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#myswatch").css({'background-color': myUserInfo.colorId});
|
$("#myswatch").css({'background-color': myUserInfo.colorId});
|
||||||
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId,'background-color': myUserInfo.colorId});
|
|
||||||
|
if ($.browser.msie && parseInt($.browser.version) <= 8) {
|
||||||
|
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId,'background-color': myUserInfo.colorId});
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in a new issue