From: Jan-Christoph Borchardt Date: Mon, 23 Mar 2015 14:26:28 +0000 (+0100) Subject: unbold share email sent notification X-Git-Tag: v8.1.0alpha1~213^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd8a134dd266300718ba0d79a7db67e7ee4cee02;p=nextcloud-server.git unbold share email sent notification --- diff --git a/core/js/share.js b/core/js/share.js index 8804db12a08..1c384dc67fa 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -1189,10 +1189,10 @@ $(document).ready(function() { $('#email').prop('disabled', false); $('#emailButton').prop('disabled', false); if (result && result.status == 'success') { - $('#email').css('font-weight', 'bold'); - $('#email').animate({ fontWeight: 'normal' }, 2000, function() { - $(this).val(''); - }).val(t('core','Email sent')); + $('#email').css('font-weight', 'bold').val(t('core','Email sent')); + setTimeout(function() { + $('#email').css('font-weight', 'normal').val(''); + }, 2000); } else { OC.dialogs.alert(result.data.message, t('core', 'Error while sharing')); }