From bc9630e803f3baf02be2d4e16b74443df3c25b0a Mon Sep 17 00:00:00 2001 From: rlx Date: Sat, 9 Jan 2016 12:37:17 +0530 Subject: [PATCH] make text in info panel selectable --- static/js/info.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/static/js/info.js b/static/js/info.js index 0d64462..10f2233 100644 --- a/static/js/info.js +++ b/static/js/info.js @@ -40,18 +40,17 @@ oml.ui.info = function() { .css({margin: '16px 0 8px 0'}) .appendTo(that); $('
') - .css({ - fontWeight: 'bold' - }) + .addClass('OxSelectable') + .css({fontWeight: 'bold'}) .text(data.title || '') .appendTo(that); $('
') - .css({ - fontWeight: 'bold' - }) + .addClass('OxSelectable') + .css({fontWeight: 'bold'}) .text((data.author || []).join(', ')) .appendTo(that); $('
') + .addClass('OxSelectable') .css({marginTop: '8px'}) .text(result.data.description || '') .appendTo(that);