From 83d72d27a405f63782803e0168b1e9121f3cd650 Mon Sep 17 00:00:00 2001 From: muxator Date: Thu, 9 Apr 2020 04:52:39 +0200 Subject: [PATCH] scroll: replace absolute import with relative one Fixing this will be useful when we'll want to get rid of require-kernel. This was introduced by f1fcd16894e5 ("Add settings to scroll on edition out of viewport") in 2018-01-03. --- src/static/js/scroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/scroll.js b/src/static/js/scroll.js index a53dc38c..46a46c9a 100644 --- a/src/static/js/scroll.js +++ b/src/static/js/scroll.js @@ -5,7 +5,7 @@ Browser Line = each vertical line. A
can be break into more than one browser line. */ -var caretPosition = require('/caretPosition'); +var caretPosition = require('./caretPosition'); function Scroll(outerWin) { // scroll settings