Pārlūkot izejas kodu

fix display error

hyperstown 2 gadi atpakaļ
vecāks
revīzija
d719f4b5c9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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"
   );
 }