mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
Merge branch 'master' into js-unit-testing
This commit is contained in:
commit
6fb3fe51b2
14 changed files with 110 additions and 50 deletions
|
@ -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 !== '')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue