From 3981ca83816a18ad7d83182f49c73add59288f5d Mon Sep 17 00:00:00 2001 From: 6ea86b96 <6ea86b96@gmail.com> Date: Thu, 27 Apr 2017 14:40:09 +0700 Subject: [PATCH] Don't re-render the video player when fileinfo has changed --- ui/js/actions/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/actions/content.js b/ui/js/actions/content.js index 8dad326a9..f8854b5ae 100644 --- a/ui/js/actions/content.js +++ b/ui/js/actions/content.js @@ -284,7 +284,7 @@ export function doWatchVideo() { if (cost > balance) { dispatch(doOpenModal('notEnoughCredits')) } - else if (cost <= 0.01) { + else if (cost <= 0.01 || fileInfo.written_bytes > 0) { dispatch(doLoadVideo()) } else { dispatch(doOpenModal('affirmPurchase'))