summaryrefslogtreecommitdiff
path: root/source/features/upload-button.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-01-19 16:34:34 +0700
committerGravatar Federico Brigante <github@bfred.it> 2019-01-19 16:34:34 +0700
commit06e7f67ab6023301ec6079af9e02f67ba3e5bc4d (patch)
tree3741bd302fcc18b907993b8b17a115f77ec133f9 /source/features/upload-button.tsx
parent11b927189bab258a226e251c1bd87504feee51f4 (diff)
downloadrefined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.tar.gz
refined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.tar.zst
refined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.zip
Update dependencies; lint
Diffstat (limited to 'source/features/upload-button.tsx')
-rw-r--r--source/features/upload-button.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/features/upload-button.tsx b/source/features/upload-button.tsx
index 02f08cb9..b26b0e85 100644
--- a/source/features/upload-button.tsx
+++ b/source/features/upload-button.tsx
@@ -13,6 +13,7 @@ function addButtons() {
if (!select.exists('.js-manual-file-chooser[type=file]', form)) {
continue;
}
+
observeEl(toolbar, function () {
const toolbarGroup = select('.toolbar-group:last-child', toolbar);
if (toolbarGroup) {