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'}) .css({margin: '16px 0 8px 0'})
.appendTo(that); .appendTo(that);
$('<div>') $('<div>')
.css({ .addClass('OxSelectable')
fontWeight: 'bold' .css({fontWeight: 'bold'})
})
.text(data.title || '') .text(data.title || '')
.appendTo(that); .appendTo(that);
$('<div>') $('<div>')
.css({ .addClass('OxSelectable')
fontWeight: 'bold' .css({fontWeight: 'bold'})
})
.text((data.author || []).join(', ')) .text((data.author || []).join(', '))
.appendTo(that); .appendTo(that);
$('<div>') $('<div>')
.addClass('OxSelectable')
.css({marginTop: '8px'}) .css({marginTop: '8px'})
.text(result.data.description || '') .text(result.data.description || '')
.appendTo(that); .appendTo(that);