diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-03-28 16:11:46 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-03-28 16:11:46 +0100 |
commit | 866ca51d834632ace8a049465e7910113620e560 (patch) | |
tree | f30685a57da529fdd0ca9ad053f7c11cd625ba84 | |
parent | f19fd3027880d09ab94d34e31f42cc20ada060d7 (diff) | |
download | nextcloud-server-866ca51d834632ace8a049465e7910113620e560.tar.gz nextcloud-server-866ca51d834632ace8a049465e7910113620e560.zip |
fix typo and remove animation
-rw-r--r-- | settings/js/log.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/js/log.js b/settings/js/log.js index 1aced805a49..81117f9e827 100644 --- a/settings/js/log.js +++ b/settings/js/log.js @@ -21,7 +21,6 @@ OC.Log={ $.get(OC.filePath('settings','ajax','getlog.php'),{offset:OC.Log.loaded,count:count},function(result){ if(result.status=='success'){ OC.Log.addEntries(result.data); - $('html, body').animate({scrollTop: $(document).height()}, 800); if(!result.remain){ $('#moreLog').hide(); } @@ -33,7 +32,7 @@ OC.Log={ count = count || 10; //calculate remaining items - at least 3 OC.Log.loaded = Math.max(3,OC.Log.loaded-count); - $('#moreLog').hide(); + $('#moreLog').show(); // remove all non-remaining items $('#log tr').slice(OC.Log.loaded).remove(); if(OC.Log.loaded <= 3) |