sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 514 forks source link

Button Problems #362

Open urshar opened 4 years ago

urshar commented 4 years ago

I have a Problem with the Buttons (pnotify latest Version). I see the Button close and stack, but I can not click it. I insert those lines.

<script src="assets/plugins/pnotify/iife/PNotify.js" type="text/javascript"></script>
<script src="assets/plugins/pnotify/iife/PNotifyButtons.js" type="text/javascript"></script>
<script src="assets/plugins/pnotify/iife/PNotifyCompat.js" type="text/javascript"></script>';

and call Pnotify with this code:

new PNotifyCompat( {
        title: pntitle,
        icon: pnicon,
        text: pnmessage,
        type: type,
        addClass: 'finsw',
        styling: 'bootstrap4',
        icons: 'fontawesome5',
        width: 'auto',
        textTrusted: true,
        modules: {
            Buttons: {
                sticker: false
            }
        }
    } );

Have anyone a idea how can I solve my problem?

andreas