Merge branch 'post-deletion-spinner-fixes' of https://github.com/Pistos/diaspora

This commit is contained in:
Jonne Hass 2011-11-10 14:45:22 +01:00
commit f4da95cd0e

View file

@ -44,10 +44,10 @@
self.deletePostLink.click(function(evt) {
evt.preventDefault();
$([
self.deletePostLink,
self.hidePostLoader
]).toggleClass("hidden");
self.hidePostLoader.ajaxStart( function() {
self.deletePostLink.addClass("hidden");
$(this).removeClass('hidden');
} );
});
self.focusCommentLink.click(function(evt) {