fix: 修复JS语法错误 - 删除重复代码块
This commit is contained in:
@@ -467,11 +467,6 @@
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user