Compare commits
1 Commits
v2.1.3
...
2373040b04
| Author | SHA1 | Date | |
|---|---|---|---|
| 2373040b04 |
@@ -467,11 +467,6 @@
|
|||||||
if (nextBtn) nextBtn.disabled = currentIndex === versions.length - 1;
|
if (nextBtn) nextBtn.disabled = currentIndex === versions.length - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const prevBtn = indicator.parentElement.querySelector('[data-dir="prev"]');
|
|
||||||
const nextBtn = indicator.parentElement.querySelector('[data-dir="next"]');
|
|
||||||
if (prevBtn) prevBtn.disabled = currentIndex === 0;
|
|
||||||
if (nextBtn) nextBtn.disabled = currentIndex === versions.length - 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 切换版本
|
// 切换版本
|
||||||
function switchVersion(messageId, direction) {
|
function switchVersion(messageId, direction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user