Explorar el Código

allow spaces in player name

Christian Herzog hace 5 años
padre
commit
71f9f82270
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/wifi-manager/code.js

+ 1 - 1
components/wifi-manager/code.js

@@ -343,7 +343,7 @@ $(document).ready(function(){
     });
 
     $("#generate-command").on("click", function() {
-        var commandLine = commandHeader + '-n ' + $("#player").val();
+        var commandLine = commandHeader + '-n "' + $("#player").val() + '"';
 
         if (output == 'bt') {
             commandLine += ' -o "BT -n \'' + $("#btsink").val() + '\'" -R -Z 192000';