From 00c4269a39fef17c1618677a3a5a25393ee449d2 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Thu, 21 Nov 2019 09:46:28 +0000 Subject: [PATCH] [refactor] improve link add page lock order --- src/js/link.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/link.js b/src/js/link.js index f0643196..97e308df 100644 --- a/src/js/link.js +++ b/src/js/link.js @@ -1361,8 +1361,8 @@ var link = (function() { pagelock.unlock(); } }); - stagedLink.position.destination.item = helper.e(".link-form-position").selectedIndex; pagelock.lock(); + stagedLink.position.destination.item = helper.e(".link-form-position").selectedIndex; }, close: function() { mod.add.item.close(); @@ -1409,8 +1409,8 @@ var link = (function() { pagelock.unlock(); } }); - stagedGroup.position.destination = helper.e(".group-form-position").selectedIndex; pagelock.lock(); + stagedGroup.position.destination = helper.e(".group-form-position").selectedIndex; }, close: function() { mod.add.group.close();