making AttachmentViewer testable and implementing tests

This commit is contained in:
El RIDO 2017-12-03 14:29:07 +01:00
parent dac86eb363
commit 39860dfdc4
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 132 additions and 3 deletions

View file

@ -2080,6 +2080,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
$attachment = $('#attachment');
$attachmentLink = $('#attachment a');
$attachmentPreview = $('#attachmentPreview');
attachmentHasPreview = false;
}
return me;