From 6369c1b4ffa964960e5187e4b47bb53636a14cfb Mon Sep 17 00:00:00 2001 From: Ashwani Yadav Date: Wed, 15 Jan 2020 04:11:34 +0530 Subject: [PATCH] removed 00:00 --- app/ui-vrecord/client/vrecord.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/ui-vrecord/client/vrecord.js b/app/ui-vrecord/client/vrecord.js index 0ec29598ff2..c476ffadff0 100644 --- a/app/ui-vrecord/client/vrecord.js +++ b/app/ui-vrecord/client/vrecord.js @@ -37,7 +37,7 @@ Template.vrecDialog.events({ 'click .vrec-dialog .cancel'(e, t) { VideoRecorder.stop(); VRecDialog.close(); - t.time.set('00:00'); + t.time.set(''); if (recordingInterval.get()) { clearInterval(recordingInterval.get()); recordingInterval.set(null); @@ -53,6 +53,7 @@ Template.vrecDialog.events({ } } else { VideoRecorder.record(); + t.time.set('00:00'); const startTime = new Date(); recordingInterval.set(setInterval(() => { const now = new Date(); @@ -71,7 +72,7 @@ Template.vrecDialog.events({ VRecDialog.close(); }; VideoRecorder.stop(cb); - instance.time.set('00:00'); + instance.time.set(''); if (recordingInterval.get()) { clearInterval(recordingInterval.get()); recordingInterval.set(null); @@ -86,7 +87,7 @@ Template.vrecDialog.onCreated(function() { this.rid = new ReactiveVar(); this.tmid = new ReactiveVar(); this.input = new ReactiveVar(); - this.time = new ReactiveVar('00:00'); + this.time = new ReactiveVar(''); this.update = ({ rid, tmid, input }) => { this.rid.set(rid); this.tmid.set(tmid);