focus text to allow copy, fixes #2525

This commit is contained in:
j 2014-11-01 18:09:54 +02:00
parent d12121d229
commit e1096ff395

View file

@ -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;
}; };