X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Ftheme.js;h=f1bef07f2067e943c9aaecd2a55914ab5c5887d7;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=46cea59ba23c60ccefed8efad885d55ae210139d;hpb=2b8642d2b5cacb8523af3b5df9da02f37bd859d7;p=friendica.git diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 46cea59ba2..f1bef07f20 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -650,7 +650,7 @@ function scrollToItem(elementId) { // Scroll to the DIV with the ID (GUID) $('html, body').animate({ scrollTop: itemPos - }, 400, function() { + }, 400).promise().done( function() { // Highlight post/commenent with ID (GUID) $el.animate(colWhite, 1000).animate(colShiny).animate(colWhite, 600); });