| 1525 | 1525 | if (warnings.length) { |
| 1526 | 1526 | toastr.warning('Tags restored with warnings. Check console or click on this message for details.', 'Tag Restore', { |
| 1527 | 1527 | timeOut: toastr.options.timeOut * 2, // Display double the time |
| 1528 | 1528 | onclick: () => Popup.show.text('Tag Restore Warnings', `<samp class="justifyLeft">${DOMPurify.sanitize(warnings.join('<br />\n'))}<samp>`, { allowVerticalScrolling: true }), |
| 1529 | 1529 | }); |
| 1530 | 1530 | console.warn(`TAG RESTORE REPORT\n====================\n${warnings.join('\n')}`); |
| 1531 | 1531 | } else { |