mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 13:20:41 +01:00
fix: add ev.cancelable
This commit is contained in:
@@ -194,7 +194,7 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
|
||||
delayedRenderPost();
|
||||
}
|
||||
|
||||
if (isNavigating) {
|
||||
if (isNavigating && ev.cancelable) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
var newTop = clampTop(touchY + $(window).scrollTop() - thumbHalfHeight);
|
||||
|
||||
Reference in New Issue
Block a user