File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
imcger/imgupload/styles/all/template/event Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 327
327
*/
328
328
imcger . imgUpload . showAttachImage = function ( ) {
329
329
// Attachments that insert in the message
330
- const notDisplayedAttachments = { { IUL_NOT_DISPLAYED_ATTACHMENTS } } ,
330
+ const notDisplayedAttachments = { { IUL_NOT_DISPLAYED_ATTACHMENTS ?? '[]' } } ,
331
331
// If true don't show the attachment box
332
- notDisplayAttachmentBox = { { IUL_NOT_DISPLAY_ATTACHMENTBOX } } ;
332
+ notDisplayAttachmentBox = { { IUL_NOT_DISPLAY_ATTACHMENTBOX ?? 0 } } ;
333
333
334
334
// Return when no attachments present
335
- if ( typeof notDisplayAttachmentBox == 'undefined' || notDisplayAttachmentBox && ! notDisplayedAttachments . length ) {
335
+ if ( ! notDisplayedAttachments . length ) {
336
336
return;
337
337
}
338
338
You can’t perform that action at this time.
0 commit comments