comments
This commit is contained in:
parent
02f00bd909
commit
e5a738a886
1 changed files with 3 additions and 2 deletions
|
@ -108,7 +108,7 @@ pandora.ui.textPanel = function() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: pandora.$ui.textEmbed = pandora.ui.textEmbed(),
|
element: pandora.$ui.textEmbed = pandora.ui.textEmbed(),
|
||||||
//fixme: at some point pdf will also have a sidebar
|
// fixme: at some point pdf will also have a sidebar
|
||||||
size: text.type == 'html' ? pandora.user.ui.embedSize : 0,
|
size: text.type == 'html' ? pandora.user.ui.embedSize : 0,
|
||||||
resizable: text.type == 'html',
|
resizable: text.type == 'html',
|
||||||
resize: [192, 256, 320, 384, 448, 512]
|
resize: [192, 256, 320, 384, 448, 512]
|
||||||
|
@ -326,8 +326,9 @@ pandora.ui.textHTML = function(text) {
|
||||||
value = $element.attr('data-value');
|
value = $element.attr('data-value');
|
||||||
footnote = value ? parseInt(value) : footnote + 1;
|
footnote = value ? parseInt(value) : footnote + 1;
|
||||||
});
|
});
|
||||||
|
// FIXME: remove footnotes, don't link to keywords inside footnotes
|
||||||
// keywords
|
// keywords
|
||||||
$text.find('[data-type="keywords"]').each(function(index, element) {
|
$text.find('[data-type="keyword"]').each(function(index, element) {
|
||||||
var $element = $(element),
|
var $element = $(element),
|
||||||
value = $element.attr('data-value') || element.html();
|
value = $element.attr('data-value') || element.html();
|
||||||
keywords.append(value);
|
keywords.append(value);
|
||||||
|
|
Loading…
Reference in a new issue