瀏覽代碼

Fix JS NPE when viewing specific range of PR commits (#27912)

This should be the easiest fix.
While other solutions might be possible that exterminate the root cause,
they will not be as trivial.
tags/v1.22.0-rc0
delvh 7 月之前
父節點
當前提交
1f501dae9e
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web_src/js/components/DiffCommitSelector.vue

+ 1
- 1
web_src/js/components/DiffCommitSelector.vue 查看文件

@@ -94,7 +94,7 @@ export default {
focusElem(elem, prevElem) {
if (elem) {
elem.tabIndex = 0;
prevElem.tabIndex = -1;
if (prevElem) prevElem.tabIndex = -1;
elem.focus();
}
},

Loading…
取消
儲存