From 4a9a564913309e6bccda2f9265b8bb1a6b763d58 Mon Sep 17 00:00:00 2001 From: ansuz <ansuz@transitiontech.ca> Date: Mon, 3 Jul 2017 11:40:52 +0200 Subject: [PATCH] don't try to handle error thta never happens anymore --- www/file/main.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/file/main.js b/www/file/main.js index 638db697d..eaed92aa6 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -181,9 +181,6 @@ define([ }; Cryptpad.getFileSize(window.location.href, function (e, data) { if (e) { - // TODO when GET_FILE_SIZE is made unauthenticated - // you won't need to handle this error (there won't be one) - if (e === 'RPC_NOT_READY') { return todoBigFile(); } return void Cryptpad.errorLoadingScreen(e); } var size = Cryptpad.bytesToMegabytes(data);