JoeGandy / ShareX-Custom-Upload

A little PHP script created for uploading custom sharex files to your own webserver
MIT License
166 stars 50 forks source link

Since v2, if you disable 'enable_gallery_page_uploads' => false, it borks JS #89

Closed JoeGandy closed 4 years ago

JoeGandy commented 4 years ago

'enable_gallery_page_uploads' => false, disabling this, as for me personally it takes up half the screen.

This breaks JS, its prob not checking for undefined on: if (Dropzone) {

theaquarium commented 4 years ago

You're right, I probably should have tested this. Now it checks if window.Dropzone exists, which doesn't throw.