IE11 fix for b73bd7f

IE11 fix for b73bd7f

diff --git a/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs b/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
index f7b6106..59bb276 100644
--- a/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
@@ -41,6 +41,7 @@
                           uploadedAvatarTemplate=user.custom_avatar_template
                           uploadedAvatarId=user.custom_avatar_upload_id
                           uploading=uploading
+                          class="avatar-uploader"
                           done=(action "uploadComplete")}}
       </div>
     {{/if}}
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index 617d3c9..da5bbb3 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -443,7 +443,7 @@
       -ms-grid-row: 1;
       -ms-grid-column: 2;
     }
-    button {
+    span.avatar-uploader {
       -ms-grid-row: 1;
       -ms-grid-column: 3;
     }

GitHub sha: 90757897

2 Likes