mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
ESlint operator-assignment, block-scoped-var
This commit is contained in:
@@ -311,7 +311,7 @@ define('forum/topic/posts', [
|
||||
|
||||
var imageRect = this.getBoundingClientRect();
|
||||
if (imageRect.top < threshold) {
|
||||
scrollTop = scrollTop + (newHeight - oldHeight);
|
||||
scrollTop += newHeight - oldHeight;
|
||||
$(window).scrollTop(scrollTop);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user