Browse Source

Always pause audio

Noah 8 years ago
parent
commit
8980337a90
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/index.js

+ 2 - 0
client/index.js View File

162
     d3.select("#minimap").classed("hidden", true);
162
     d3.select("#minimap").classed("hidden", true);
163
     preview.file(null);
163
     preview.file(null);
164
     setClass(null);
164
     setClass(null);
165
+    audio.pause();
166
+    video.kill();
165
     return true;
167
     return true;
166
   }
168
   }
167
 
169