Fix updateIndex extra parameter issue

This commit is contained in:
Folyd 2020-10-23 10:16:01 +08:00
parent 5693a348d1
commit 0345dfe7da

View file

@ -1,6 +1,6 @@
const indexList = document.querySelector(".index-list");
function updateIndex(target, index, ...extra) {
function updateIndex(target, index, extra) {
window.postMessage({
direction: "rust-search-extension:update-index",
message: {