Procházet zdrojové kódy

scrutinizer issues

thororm před 9 roky
rodič
revize
1a1369ff53
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 AttachmentViewer = (function (window, document) {
         var me = {};
         var me = {};
 
 
-        me.$attachmentLink;
-        me.$attachmentPreview;
-        me.$attachment;
+        me.$attachmentLink = undefined;
+        me.$attachmentPreview = undefined;
+        me.$attachment = undefined;
 
 
         var attachmentHasPreview = false;
         var attachmentHasPreview = false;