Return set toast position on container init
| @@ -725,6 +725,7 @@ export function fixToastrForDialogs() { | ||
| 725 | 725 | if (!toastContainer) { |
| 726 | 726 | toastContainer = document.createElement('div'); |
| 727 | 727 | toastContainer.setAttribute('id', 'toast-container'); |
| 728 | + if (toastr.options.positionClass) toastContainer.classList.add(toastr.options.positionClass); | |
| 728 | 729 | } |
| 729 | 730 | |
| 730 | 731 | // Check if toastr is already a child. If not, we need to move it inside this dialog. |