don't steal focus from input elements

This commit is contained in:
j 2018-11-14 14:23:07 +00:00
parent 5826504d0f
commit b56fdeea72

View file

@ -412,7 +412,9 @@ pandora.ui.editPanel = function(isEmbed) {
updateSmallTimelineURL();
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
that.gainFocus();
if (!Ox.Focus.focusedElementIsInput()) {
that.gainFocus();
}
}
function renderEdits() {