From: Vincent Vanwaelscappel Date: Fri, 2 Jun 2017 17:09:17 +0000 (+0200) Subject: wip #1388 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c2d35b668c193bea5ba7eea15dd6f73cbff15741;p=fluidbook-html5.git wip #1388 --- diff --git a/js/libs/fluidbook/fluidbook.bookmarks.js b/js/libs/fluidbook/fluidbook.bookmarks.js index 8764368f..8b2cb214 100644 --- a/js/libs/fluidbook/fluidbook.bookmarks.js +++ b/js/libs/fluidbook/fluidbook.bookmarks.js @@ -370,18 +370,10 @@ FluidbookBookmarks.prototype = { if (c === false) { return c; } - var index = '
' + this.fluidbook.l10n.__('back') + '

' + this.fluidbook.l10n.__('bookmarks') + '

'; - index += '
'; - if (this.fluidbook.datas.friend) { - index += '' + this.fluidbook.l10n.__('send') + ''; - - } - if (this.fluidbook.datas.print || this.fluidbook.datas.pdf) { - index += '' + this.fluidbook.l10n.__('download') + ''; - } + var index = '
' + this.fluidbook.menu.closeButton() + '

' + this.fluidbook.l10n.__('bookmarks') + '

'; index += '
'; + index += c; index += '
'; - index += '' + c + '
'; return index; }, hasBookmarkedPages: function(all) { @@ -453,7 +445,17 @@ FluidbookBookmarks.prototype = { index += '
'; } } - index += '
'; + index += ''; + index += '
'; + if (this.fluidbook.datas.friend) { + index += '' + this.fluidbook.l10n.__('send') + ''; + + } + if (this.fluidbook.datas.print || this.fluidbook.datas.pdf) { + index += '' + this.fluidbook.l10n.__('download') + ''; + } + index += '
'; + index += ''; return index; } }; \ No newline at end of file