]> git.sesse.net Git - vlc/blobdiff - share/http/js/vlm.js
Typos
[vlc] / share / http / js / vlm.js
index b38fe07a93937e000c437629cbc18c29703cf6af..7a4580b75441a4a8d3800903ced99e72a632f86b 100644 (file)
@@ -153,7 +153,7 @@ function vlm_schedule_type_change( name )
 
 function sanitize_input( str )
 {
-    return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' );
+    return str.replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' );
 }
 
 function update_vlm_add_broadcast()
@@ -326,7 +326,7 @@ function parse_vlm_cmd()
             }
             else
             {
-                vlme.appendChild( document.createTextNode( 'Command succesful (' + value( 'vlm_command' ) + ') ' ) );
+                vlme.appendChild( document.createTextNode( 'Command successful (' + value( 'vlm_command' ) + ') ' ) );
                 vlme.style.color = "#0f0";
                 clear_vlm_add();
             }