Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-23 17:26:28 +0300
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-23 18:53:20 +0300
commitfd8a134dd266300718ba0d79a7db67e7ee4cee02 (patch)
tree047dcf56e3df711f7275230541d3165af5d87617 /core
parenta9b4f0d8429dbeb612e80b168b6146890bb7843e (diff)
unbold share email sent notification
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js8
1 files changed, 4 insertions, 4 deletions
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'));
}