Merge branch 'master' into js-unit-testing

This commit is contained in:
El RIDO
2017-03-26 06:46:42 +02:00
14 changed files with 110 additions and 50 deletions

View File

@@ -2080,7 +2080,8 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
*/
me.hasAttachment = function()
{
return ($attachmentLink.prop('href') !== '')
var link = $attachmentLink.prop('href');
return (typeof link !== 'undefined' && link !== '')
}
/**