mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
customizable scrolling speed
This commit is contained in:
@@ -785,10 +785,11 @@ module.controller('FeedListCtrl', [
|
||||
return;
|
||||
} else {
|
||||
var scrollTop = elemTop - $('#toolbar').outerHeight();
|
||||
var speed = SettingsService.settings.scrollSpeed;
|
||||
watch_scrolling = false;
|
||||
$('html, body').animate({
|
||||
scrollTop : scrollTop
|
||||
}, 400, 'swing', function() {
|
||||
}, speed, 'swing', function() {
|
||||
watch_scrolling = true;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user