From 4bea1aa2df1947137433295128454b907998a2d6 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 18 Jan 2018 15:25:45 +0100 Subject: [PATCH] Display default avatars in IE --- www/common/common-ui-elements.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 8890fe1f9..286fb84d6 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -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);