mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Prevent opening editor from sidebar when sorting
This commit is contained in:
@@ -220,7 +220,8 @@
|
||||
case that has happened. */
|
||||
window.getSelection().removeAllRanges();
|
||||
|
||||
if (document.body.getAttribute('data-state') !== 'editing') {
|
||||
if (document.body.getAttribute('data-state') !== 'editing'
|
||||
&& document.body.getAttribute('data-state') !== 'sorting') {
|
||||
document.getElementById(evt.target.getAttribute('data-id')).onShowEditor();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user