From 9509d538e0f3481bd9da94c3b65e9dfc6234619a Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Fri, 6 Oct 2017 14:49:52 +0300 Subject: [PATCH] Cursor not being updated at the right times before applying a patch. --- www/pad/inner.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/pad/inner.js b/www/pad/inner.js index 393cf2fa1..8717f3eb3 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -210,6 +210,8 @@ define([ return true; } + cursor.update(); + // no use trying to recover the cursor if it doesn't exist if (!cursor.exists()) { return; }