diff options
author | Sage Ross <ragesoss@gmail.com> | 2022-01-02 22:14:31 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-06-19 20:31:09 +0300 |
commit | 2ce99d5b5a7839ad212fc4245d5a899f530fef33 (patch) | |
tree | 6b5a458472bb9a848a0f5efa6d7496c9452c3f56 /app/assets | |
parent | 6c9e7f283fa655ff895bf830dea2ec6cb5aea511 (diff) |
Remove unread var in mobile_file_uploader.js
This doesn't appear to be actually used, but if `gon` on not defined — which may happen in jasmine tests when run in random order — then it causes test failures.
Closes #8333
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/mobile/mobile_file_uploader.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/mobile/mobile_file_uploader.js b/app/assets/javascripts/mobile/mobile_file_uploader.js index fb6198e48..20652d42c 100644 --- a/app/assets/javascripts/mobile/mobile_file_uploader.js +++ b/app/assets/javascripts/mobile/mobile_file_uploader.js @@ -2,7 +2,6 @@ //= require js_image_paths function createUploader(){ - var aspectIds = gon.preloads.aspect_ids; var fileInfo = $("#fileInfo-publisher"); // Initialize the PostPhotoUploader and subscribe its events |