[SSE] Fix disable tabs when insert format table

This commit is contained in:
Julia Svinareva 2020-03-20 10:22:18 +03:00
parent c13d0dc8e9
commit b8ecc04c35

View file

@ -244,7 +244,8 @@ define([
lockDrag = true; lockDrag = true;
} }
this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag); this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag);
tab.changeState(); if (!lockDrag)
tab.changeState();
} else { } else {
this.bar.$el.find('ul > li > span').attr('draggable', 'false'); this.bar.$el.find('ul > li > span').attr('draggable', 'false');
} }