diff --git a/app/js/directives.js b/app/js/directives.js index bbde5aad..90cdd715 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -1561,6 +1561,7 @@ angular.module('myApp.directives', ['myApp.filters']) navigator.getUserMedia = ( navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia); voiceRecord.on('touchstart', function(e) { + if ($scope.$parent.$parent.voiceRecorder.processing) { return; } navigator.getUserMedia({audio : true}, function(stream){ var start = Date.now(); var touch = null;