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,8 +412,10 @@ pandora.ui.editPanel = function(isEmbed) {
updateSmallTimelineURL(); updateSmallTimelineURL();
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop(); ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
if (!Ox.Focus.focusedElementIsInput()) {
that.gainFocus(); that.gainFocus();
} }
}
function renderEdits() { function renderEdits() {
that.css({ that.css({