🐛 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:
parent
7ab9fc6a6e
commit
756439fc75
|
@ -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();
|
||||
},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue