From dfbb26ce12c38736c30afb6876fa37ad192dfa1e Mon Sep 17 00:00:00 2001 From: Kenshin Date: Fri, 5 Apr 2019 14:21:45 +0800 Subject: [PATCH] Format source. --- src/read/read.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/read/read.jsx b/src/read/read.jsx index 68e9c3dc..e19c5d5a 100644 --- a/src/read/read.jsx +++ b/src/read/read.jsx @@ -95,8 +95,8 @@ class Read extends React.Component { && toc.Render( "sr-read", $( "sr-rd-content" ), this.props.read.theme, this.props.read.toc_hide ); ss.Preview( this.props.read.custom ); - storage.pr.state == "txt" && $( "sr-rd-content" ).css({ "word-wrap": "break-word", "white-space": "pre-wrap" }); - storage.pr.state == "txt" && location.href.endsWith( ".md" ) && ss.MDStyle(); + storage.pr.state == "txt" && $( "sr-rd-content" ).css({ "word-wrap": "break-word", "white-space": "pre-wrap" }); + storage.pr.state == "txt" && location.href.endsWith( ".md" ) && ss.MDStyle(); storage.pr.current.site.desc == "" && $( "sr-rd-desc" ).addClass( "simpread-hidden" ); excludes( $("sr-rd-content"), this.props.wrapper.exclude );