diff --git a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js index f55bf56..bf2b9c0 100644 --- a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js +++ b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js @@ -271,7 +271,7 @@ pnotify.animate({"opacity": opts.pnotify_nonblock_opacity}, "fast"); } if (opts.pnotify_hide && opts.pnotify_mouse_reset) pnotify.pnotify_cancel_remove(); - if (opts.pnotify_closer && !opts.pnotify_nonblock) pnotify.closer.show(); + if (opts.pnotify_closer && !opts.pnotify_nonblock) pnotify.closer.css("visibility", "visible"); }, "mouseleave": function(e) { if (opts.pnotify_nonblock) e.stopPropagation(); @@ -280,7 +280,7 @@ if (opts.pnotify_nonblock && animating != "out") pnotify.animate({"opacity": opts.pnotify_opacity}, "fast"); if (opts.pnotify_hide && opts.pnotify_mouse_reset) pnotify.pnotify_queue_remove(); - pnotify.closer.hide(); + pnotify.closer.css("visibility", "hidden"); $.pnotify_position_all(); }, "mouseover": function(e) { @@ -535,10 +535,10 @@ // Provide a button to close the notice. pnotify.closer = $14("
", { "class": "rf-ny-cl", - "css": {"cursor": "pointer", "display": "none"}, + "css": {"cursor": "pointer", "visibility": "hidden"}, "click": function() { pnotify.pnotify_remove(); - pnotify.closer.hide(); + pnotify.closer.css("visibility", "hidden"); } }) .append($14("", {"class": "rf-ny-cl-ic"}))