diff --git a/app/controllers/settings/general.js b/app/controllers/settings/general.js index 4266d25cc..caa2e6573 100644 --- a/app/controllers/settings/general.js +++ b/app/controllers/settings/general.js @@ -125,7 +125,7 @@ export default Controller.extend({ // simulate click to open file dialog // using jQuery because IE11 doesn't support MouseEvent $(event.target) - .closest('figure') + .closest('.gh-setting-action') .find('input[type="file"]') .click(); }, diff --git a/app/controllers/settings/labs.js b/app/controllers/settings/labs.js index 74618b42b..e3477e64c 100644 --- a/app/controllers/settings/labs.js +++ b/app/controllers/settings/labs.js @@ -212,7 +212,7 @@ export default Controller.extend({ // simulate click to open file dialog // using jQuery because IE11 doesn't support MouseEvent $(event.target) - .closest('figure') + .closest('.gh-setting-action') .find('input[type="file"]') .click(); }