var pk = pk || {};
(function(pk) {
    var nEl = pk.createEl("<ul class='pk-notify'></ul>");
    document.body.appendChild(nEl);
    return pk.notify = {
        push: function(opt) {
            var mEl = pk.createEl("<li>" + opt.content + "</li>"),
                delay = opt.delay || 8000;
            nEl.appendChild(mEl);
            setTimeout(function() {
                pk.addClass(mEl, 'pk-show');
            }, 10);
            var scope = this;
            setTimeout(function() {
                scope.dismiss(mEl);
            }, delay);
            pk.bindEvent('click', mEl, function() {
                scope.dismiss(mEl);
            });
        },
        dismiss: function(dEl) {
            pk.removeClass(dEl, 'pk-show');
            setTimeout(function() {
                if(nEl){nEl.removeChild(dEl);}
            }, 1000);
        }
    };
})(pk);

@@ -215,16 +215,54 @@
 eEl(%22%3Cli
+ tabindex='%22 + pk.getRand(1, 999) + %22'
 %3E%22 + opt
@@ -323,9 +323,9 @@
  %7C%7C 
-8
+2
 000;
@@ -585,16 +585,17 @@
 delay);%0A
+%0A
         
@@ -730,24 +730,110 @@
 tion(dEl) %7B%0A
+            if (!pk.hasClass(dEl, 'pk-show')) %7B%0A                return;%0A            %7D%0A
             
@@ -922,14 +922,37 @@
   if
-(nEl)%7B
+ (dEl) %7B%0A                    
 nEl.
@@ -968,16 +968,33 @@
 ld(dEl);
+%0A                
 %7D%0A      

Update notify.js