Display default avatars in IE

pull/1/head
yflory 2018-01-18 15:25:45 +01:00
parent adf7e14891
commit 4bea1aa2df
1 changed files with 1 additions and 0 deletions

View File

@ -951,6 +951,7 @@ define([
$container.append($avatar);
if (cb) { cb(); }
};
if (!window.Symbol) { return void displayDefault(); } // IE doesn't have Symbol
if (!href) { return void displayDefault(); }
var parsed = Hash.parsePadUrl(href);
var secret = Hash.getSecrets('file', parsed.hash);