Skip to content
Snippets Groups Projects
Commit 0421575c authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix

parent 55f980d2
Branches
Tags
No related merge requests found
......@@ -10,7 +10,6 @@ $(function()
inspectorList.on('click', 'div.EventItem', function()
{
$(this).remove();
--inspectorCounter;
})
.on('mouseenter', 'div.EventItem.success', function()
{
......@@ -50,11 +49,14 @@ function EventInspector_ShowMsg(text, type)
var MsgDiv = inspectorList.append('<div class="EventItem '+ type +'">' + text + '</div>').children().last();
setTimeout(
function(){
--inspectorCounter;
MsgDiv.animate(
{opacity: 0},
1000,
function(){$(this).remove();}
function()
{
$(this).remove();
--inspectorCounter;
}
);
},
4000
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment