mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 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
61eec35b3c
commit
65d58405ed
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue