diff options
author | Toma Tasovac | 2019-05-30 10:53:08 +0200 |
---|---|---|
committer | Toma Tasovac | 2019-05-30 10:53:08 +0200 |
commit | 9e7b081bd934e4245eaa0ae83abcad94b473d622 (patch) | |
tree | 12e49be584ad69c781d58d60ead2a52455d553b5 /public/js | |
parent | 3eca0a74ae3d87a42acb7c7b8e39e2c389e3c96c (diff) |
fixed styling of slides preview
Signed-off-by: Toma Tasovac <ttasovac@humanistika.org>
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index d5345a8c..ff381598 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2740,6 +2740,7 @@ function updateViewInner () { delete md.metaError var rendered = md.render(value) if (md.meta.type && md.meta.type === 'slide') { + ui.area.view.addClass('black') var slideOptions = { separator: '^(\r\n?|\n)---(\r\n?|\n)$', verticalSeparator: '^(\r\n?|\n)----(\r\n?|\n)$' @@ -2756,6 +2757,7 @@ function updateViewInner () { if (lastMeta.type && lastMeta.type === 'slide') { refreshView() ui.area.markdown.removeClass('slides') + ui.area.view.removeClass('black') appState.syncscroll = true checkSyncToggle() } |