Permalink
Browse files

Remove tabs symbols.

  • Loading branch information...
dknight
dknight committed Dec 6, 2010
1 parent 043a134 commit 6e343fd72336cc1a8b281058fc1dd1bdf962a4be
Showing with 19 additions and 19 deletions.
  1. +19 −19 jquery.notifyBar.js
View
@@ -85,25 +85,25 @@ jQuery.notifyBar = function(settings) {
}); });
} }
// Check if we've got any visible bars and if we have, slide them up before showing the new one // Check if we've got any visible bars and if we have, slide them up before showing the new one
if($('.jquery-notify-bar:visible').length > 0) { if($('.jquery-notify-bar:visible').length > 0) {
$('.jquery-notify-bar:visible').stop().slideUp(asTime, function() { $('.jquery-notify-bar:visible').stop().slideUp(asTime, function() {
bar.stop().slideDown(asTime); bar.stop().slideDown(asTime);
}); });
} else { } else {
bar.slideDown(asTime); bar.slideDown(asTime);
} }
// Allow the user to click on the bar to close it // Allow the user to click on the bar to close it
bar.click(function() { bar.click(function() {
$(this).slideUp(asTime); $(this).slideUp(asTime);
}) })
// If taken from DOM dot not remove just hide // If taken from DOM dot not remove just hide
if( bar.attr("id") == "__notifyBar") { if( bar.attr("id") == "__notifyBar") {
setTimeout("jQuery('#" + id + "').stop().slideUp(" + asTime +", function() {jQuery('#" + id + "').remove()});", notifyBarNS.delay + asTime); setTimeout("jQuery('#" + id + "').stop().slideUp(" + asTime +", function() {jQuery('#" + id + "').remove()});", notifyBarNS.delay + asTime);
} else { } else {
setTimeout("jQuery('#" + id + "').stop().slideUp(" + asTime +", function() {jQuery('#" + id + "')});", notifyBarNS.delay + asTime); setTimeout("jQuery('#" + id + "').stop().slideUp(" + asTime +", function() {jQuery('#" + id + "')});", notifyBarNS.delay + asTime);
} }
})(jQuery) }; })(jQuery) };

0 comments on commit 6e343fd

Please sign in to comment.