Explorar o código

fix display error

hyperstown %!s(int64=2) %!d(string=hai) anos
pai
achega
d719f4b5c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"
   );
 }