Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent close Toastr on Click

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

like image 640
srd98 Avatar asked Nov 09 '15 22:11

srd98


1 Answers

I found a toastr option to do it

toastr.options.tapToDismiss = false

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

like image 198
srd98 Avatar answered Oct 16 '22 18:10

srd98