소스 검색

fix display error

hyperstown 2 년 전
부모
커밋
d719f4b5c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Extensions/combined/src/state.js

+ 1 - 1
Extensions/combined/src/state.js

@@ -223,7 +223,7 @@ function processResponse(response, storedData) {
 
 // Tells the user if the API is down
 function displayError(error) {
-  getButtons().children[1].querySelector("#text").innerText = localize(
+  getDislikeTextContainer().innerText = localize(
     "textTempUnavailable"
   );
 }