summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-10-06 16:48:10 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2016-10-06 16:48:10 +0200
commit3141680febeaed14548c876c2a713ee23801c434 (patch)
treee981a33609b869cbff45ae28e060bfa12487339a /core/js
parent66ae43880b7d898e54a47d3a4651684d85a1e951 (diff)
downloadnextcloud-server-3141680febeaed14548c876c2a713ee23801c434.tar.gz
nextcloud-server-3141680febeaed14548c876c2a713ee23801c434.zip
bring back dedicated log in button to make log in more usable
Diffstat (limited to 'core/js')
-rw-r--r--core/js/login.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/js/login.js b/core/js/login.js
index 62aa8e9f37a..034bb169c52 100644
--- a/core/js/login.js
+++ b/core/js/login.js
@@ -13,18 +13,18 @@
OC.Login = _.extend(OC.Login || {}, {
onLogin: function () {
$('#submit')
- .removeClass('icon-confirm')
+ .removeClass('icon-confirm-white')
.addClass('icon-loading-small')
- .css('opacity', '1');
+ .attr('value', t('core', 'Logging in …'));
return true;
},
rememberLogin: function(){
if($(this).is(":checked")){
- if($("#user").val() && $("#password").val()) {
- $('#submit').trigger('click');
- }
- }
+ if($("#user").val() && $("#password").val()) {
+ $('#submit').trigger('click');
+ }
+ }
}
});