Fix lightbox errors
This commit is contained in:
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…
x
Reference in New Issue
Block a user