Browse Source

Merge pull request #8079 from ozero/patch-1

[frio] Stop scrollToItem() animate twice.
pull/8119/head
Hypolite Petovan 1 year ago
committed by GitHub
parent
commit
7bf00984ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      view/theme/frio/js/theme.js

+ 1
- 1
view/theme/frio/js/theme.js View File

@ -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);
});


Loading…
Cancel
Save