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
This commit is contained in:
parent
6c9e7f283f
commit
2ce99d5b5a
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue