浏览代码

Fix pressing backspace in the search box deleting an entity

master
Fen Dweller 3 年前
父节点
当前提交
59920cc288
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      macrovision.js

+ 4
- 0
macrovision.js 查看文件

@@ -4912,6 +4912,10 @@ document.addEventListener("DOMContentLoaded", () => {
.querySelector("#search-box")
.addEventListener("change", (e) => doSearch(e.target.value));


document
.querySelector("#search-box")
.addEventListener("keydown", e => e.stopPropagation());
// Webkit doesn't draw resized SVGs correctly. It will always draw them at their intrinsic size, I think
// This checks for that.
webkitBugTest.onload = () => {


正在加载...
取消
保存