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"
   );
 }