Browse Source

Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v12.0.0beta1
Roeland Jago Douma 7 years ago
parent
commit
0da04fd284
No account linked to committer's email address
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      core/js/jquery.avatar.js

+ 6
- 2
core/js/jquery.avatar.js View File

@@ -48,8 +48,12 @@

(function ($) {
$.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) {
user = String(user);
displayname = String(displayname);
if (typeof(user) !== 'undefined') {
user = String(user);
}
if (typeof(displayname) !== 'undefined') {
displayname = String(displayname);
}

if (typeof(size) === 'undefined') {
if (this.height() > 0) {

Loading…
Cancel
Save