make text in info panel selectable

This commit is contained in:
rlx 2016-01-09 12:37:17 +05:30
parent a6e95f44ca
commit bc9630e803

View file

@ -40,18 +40,17 @@ oml.ui.info = function() {
.css({margin: '16px 0 8px 0'})
.appendTo(that);
$('<div>')
.css({
fontWeight: 'bold'
})
.addClass('OxSelectable')
.css({fontWeight: 'bold'})
.text(data.title || '')
.appendTo(that);
$('<div>')
.css({
fontWeight: 'bold'
})
.addClass('OxSelectable')
.css({fontWeight: 'bold'})
.text((data.author || []).join(', '))
.appendTo(that);
$('<div>')
.addClass('OxSelectable')
.css({marginTop: '8px'})
.text(result.data.description || '')
.appendTo(that);