Fix lightbox errors

pull/1/head
yflory 5 years ago
parent c29b7d3389
commit 0f21f3118b

@ -140,6 +140,7 @@
} }
pre.mermaid { pre.mermaid {
overflow: unset; overflow: unset;
margin-bottom: 0;
} }
.cp-spinner { .cp-spinner {
border-color: @colortheme_logo-1; border-color: @colortheme_logo-1;

@ -299,9 +299,11 @@ define([
show(i); show(i);
var previous = function () { var previous = function () {
if (i === 0) { return; }
show(i - 1); show(i - 1);
}; };
var next = function () { var next = function () {
if (i === tags.length - 1) { return; }
show(i + 1); show(i + 1);
}; };
$left.click(previous); $left.click(previous);

Loading…
Cancel
Save