From 9309fa1677d3596af7f10f1e53628ea54bc8afa1 Mon Sep 17 00:00:00 2001 From: Yamboy1 Date: Sun, 26 Jan 2020 17:09:23 +1300 Subject: [PATCH] Add back text files --- ui/redux/selectors/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/selectors/content.js b/ui/redux/selectors/content.js index 7512ea308..de77e0947 100644 --- a/ui/redux/selectors/content.js +++ b/ui/redux/selectors/content.js @@ -176,7 +176,7 @@ export const makeSelectIsText = (uri: string) => createSelector( makeSelectMediaTypeForUri(uri), mediaType => { - const isText = ['document', 'script'].includes(mediaType); + const isText = ['text', 'document', 'script'].includes(mediaType); return isText; } );