Format source.

This commit is contained in:
Kenshin 2019-04-05 14:21:45 +08:00
parent 29e4cedd83
commit dfbb26ce12

View File

@ -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 );