Now WebConsole can be used in English and Spanish

This commit is contained in:
Carlos
2019-08-23 17:29:45 +02:00
parent 13d374ec32
commit de0bd6d553
5 changed files with 147 additions and 16 deletions

View File

@ -10,6 +10,7 @@
$(document).ready(function() {
$("#serverContainer").hide();
updateServerList();
setLanguage(persistenceManager.getLanguage());
});
/**
@ -92,7 +93,7 @@ $("#sendCommandButton").click(function() {
});
/**
* Enter or arrow up key on command input
* Enter or arrow down/up key on command input
*/
$("#commandInput").on('keydown', function (e) {
if(e.which === 13){ //Detect enter key