Skip to content

Commit 00c4269

Browse files
committed
[refactor] improve link add page lock order
1 parent 5602983 commit 00c4269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/js/link.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,8 +1361,8 @@ var link = (function(){
13611361
pagelock.unlock();
13621362
}
13631363
});
1364-
stagedLink.position.destination.item=helper.e(".link-form-position").selectedIndex;
13651364
pagelock.lock();
1365+
stagedLink.position.destination.item=helper.e(".link-form-position").selectedIndex;
13661366
},
13671367
close: function(){
13681368
mod.add.item.close();
@@ -1409,8 +1409,8 @@ var link = (function(){
14091409
pagelock.unlock();
14101410
}
14111411
});
1412-
stagedGroup.position.destination=helper.e(".group-form-position").selectedIndex;
14131412
pagelock.lock();
1413+
stagedGroup.position.destination=helper.e(".group-form-position").selectedIndex;
14141414
},
14151415
close: function(){
14161416
mod.add.group.close();

0 commit comments

Comments
(0)