loleaflet/dist/toolbar/toolbar.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit 21220789b33ed60e6f3665d8b55bf4d44354b74f Author: Pranav Kant <pran...@collabora.co.uk> Date: Thu Jan 12 15:49:57 2017 +0530 loleaflet: Don't hide prev/next buttons for calc Primary reason we are bringing it back is because in mobile mode userlist icon goes to the right most edge of the screen which leads to userlist popup not being shown (which seems to be the bug in library we are using) Change-Id: Ie5b93c41f54ffeeb8615f90fa0e71c74de5ed92c Reviewed-on: https://gerrit.libreoffice.org/35563 Reviewed-by: pranavk <pran...@collabora.co.uk> Tested-by: pranavk <pran...@collabora.co.uk> diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index 0b1bf7f2..3cd45321 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -1191,12 +1191,7 @@ map.on('updateparts pagenumberchanged', function (e) { toolbar.hide('deletepage'); } - if (e.docType === 'spreadsheet') { - toolbar.hide('prev'); - toolbar.hide('next'); - toolbar.hide('prevnextbreak'); - } - else { + if (e.docType !== 'spreadsheet') { if (current === 0) { toolbar.disable('prev'); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits