forked from 0x2620/pandora
don't steal focus from input elements
This commit is contained in:
parent
5826504d0f
commit
b56fdeea72
1 changed files with 3 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue