focus text to allow copy, fixes #2525
This commit is contained in:
parent
d12121d229
commit
e1096ff395
1 changed files with 7 additions and 1 deletions
|
@ -429,7 +429,13 @@ pandora.ui.textHTML = function(text) {
|
||||||
scrollToPosition();
|
scrollToPosition();
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
that.bindEvent({
|
||||||
|
mousedown: function() {
|
||||||
|
setTimeout(function() {
|
||||||
|
!Ox.Focus.focusedElementIsInput() && that.gainFocus();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue