Merge "DesktopArticleTarget: Fix position of progress bar if editor is reloaded"

This commit is contained in:
jenkins-bot 2019-02-06 21:31:33 +00:00 committed by Gerrit Code Review
commit c7049f4de1

View file

@ -68,6 +68,8 @@
bottom = Math.min( clientTop + $content[ 0 ].offsetHeight, windowHeight );
middle = ( bottom - top ) / 2;
init.$loading.css( 'top', middle + Math.max( -clientTop, 0 ) );
} else {
init.$loading.css( 'top', '' );
}
$content.prepend( init.$loading );