Explorar el Código

scrutinizer issues

thororm hace 9 años
padre
commit
1a1369ff53
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      js/privatebin.js

+ 3 - 3
js/privatebin.js

@@ -2163,9 +2163,9 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
     var AttachmentViewer = (function (window, document) {
         var me = {};
 
-        me.$attachmentLink;
-        me.$attachmentPreview;
-        me.$attachment;
+        me.$attachmentLink = undefined;
+        me.$attachmentPreview = undefined;
+        me.$attachment = undefined;
 
         var attachmentHasPreview = false;