Parcourir la source

allow spaces in player name

Christian Herzog il y a 5 ans
Parent
commit
71f9f82270
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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';