Prevent close Toastr on Click

srd98 picture srd98 · Nov 9, 2015 · Viewed 8.2k times · Source

I´m trying to keep toastr open alway but it´s dissapear when I click on it, I set extendedTimeOut = 0 , however the toastr dissapear when click on it, so I need a way it never closes even when I make click on it

Answer

srd98 picture srd98 · Nov 13, 2015

I found a toastr option to do it

toastr.options.tapToDismiss = false

Example: https://jsfiddle.net/w96udv4e/5/