Make edit area of TOKEN resizeable again in order to make editing of

longer tokens more comfortable.
pull/40/head
Kai Labusch 5 years ago
parent 7ebf04b517
commit 655a1f232e

@ -773,9 +773,16 @@ function setupInterface(data, file, urls) {
if (editingTd) {
if (target == editingTd.elem) return;
if (target == $(':focus')) return;
if ($.contains($(':focus')[0], target)) return;
if ($.contains(target, $(':focus')[0])) return;
let refocus = $(':focus');
editingTd.finish(true);
refocus.focus();
editingTd.finish(editingTd.elem, true);
}
if (!$.contains($('#table')[0], target)) return

Loading…
Cancel
Save