CodeSeven / toastr

Simple javascript toast notifications
http://www.toastrjs.com
MIT License
11.99k stars 2.04k forks source link

facing error in toastr css #577

Closed mukeshkamboj1 closed 6 years ago

mukeshkamboj1 commented 6 years ago

while using //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.css it's showing error on

var ss = doc.createElement("style"), css = styleBlocks[k].join("\n"); ss.type = "text/css"; ss.media = k; head.insertBefore(ss, lastLink.nextSibling); if (ss.styleSheet) { ss.styleSheet.cssText = css;

when value of k is print,not showing error on value of k=all, i don't understand , pls solve this issue

TimFerrell commented 6 years ago

I'm not sure, but I don't believe that this issue is specific to toastr. Closing, as it doesn't appear to be an issue specific to this library.

mukeshkamboj1 commented 6 years ago

Hello sir, If i use timer tick event, then it create problem. like on page there are 2 timer,on one timer tick event i m performing another operation and on 2nd timer tick event i m showing toaster message,then it create problem,may be coz of time .

On Mon, Jul 16, 2018 at 8:18 PM, Tim Ferrell notifications@github.com wrote:

Closed #577 https://github.com/CodeSeven/toastr/issues/577.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CodeSeven/toastr/issues/577#event-1735504740, or mute the thread https://github.com/notifications/unsubscribe-auth/AmK_Dd_TdkuzcotjpUIEBWfr2Tg1Vxbqks5uHKfXgaJpZM4UeKUb .