🐛 Fixed unresponsive upload buttons

closes https://github.com/TryGhost/Ghost/issues/9292
- fix a global find/replace error that caused the wrong element classes in the general and labs file dialog trigger events
This commit is contained in:
Kevin Ansfield 2017-11-30 07:00:25 +00:00
parent 7ab9fc6a6e
commit 756439fc75
2 changed files with 2 additions and 2 deletions

View File

@ -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();
},

View File

@ -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();
}