Эх сурвалжийг харах

Merge pull request #816 from hyperstown/fix_display_error

Fix "API down" error message
Dmitrii Selivanov 2 жил өмнө
parent
commit
f1732d13d8

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

@@ -229,7 +229,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"
   );
 }