Explorar o código

scrutinizer issues

thororm %!s(int64=9) %!d(string=hai) anos
pai
achega
1a1369ff53
Modificáronse 1 ficheiros con 3 adicións e 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;