DEV: adds decorateCooked if to prevents leaks

DEV: adds decorateCooked if to prevents leaks

diff --git a/assets/javascripts/discourse/initializers/hook-upload.js.es6 b/assets/javascripts/discourse/initializers/hook-upload.js.es6
index c32dbfb..47f396c 100644
--- a/assets/javascripts/discourse/initializers/hook-upload.js.es6
+++ b/assets/javascripts/discourse/initializers/hook-upload.js.es6
@@ -108,7 +108,7 @@ export default {
 
           return false;
         });
-      });
+      }, { id: "discourse-encrypt" });
     });
   }
 };

GitHub sha: f4c682da