mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Optimize font awesome style url.
This commit is contained in:
parent
a9ddbb5f87
commit
556a2c5c8a
@ -42,7 +42,6 @@ export default class Pluginbar extends React.Component {
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
$( "head" ).append( '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">' );
|
||||
storage.Plugins( () => {
|
||||
this.category = {};
|
||||
this.getCategory();
|
||||
|
||||
@ -43,6 +43,8 @@ class Read extends React.Component {
|
||||
componentWillMount() {
|
||||
$( "body" ).addClass( "simpread-hidden" );
|
||||
th.Change( this.props.read.theme );
|
||||
// hack code
|
||||
storage.current.fap && $( "head" ).append( '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">' );
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user