File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -228,15 +228,6 @@ class ReadChapter extends React.Component {
228228
229229 elements . forEach ( ( e ) => e . forEach ( changeColors ( black , white ) ) ) ;
230230 $ ( 'p a' ) . forEach ( changeColors ( blue , white ) ) ;
231-
232- const style = document . createElement ( 'style' ) ;
233- const link = document . createElement ( 'link' ) ;
234-
235- link . setAttribute ( 'href' , 'https://fonts.googleapis.com/css?family=Roboto+Mono:400,400i' ) ;
236- link . setAttribute ( 'rel' , 'stylesheet' ) ;
237-
238- document . head . appendChild ( style ) ;
239- document . head . appendChild ( link ) ;
240231 } ;
241232
242233 loadDarkTheme = ( ) => {
@@ -267,15 +258,6 @@ class ReadChapter extends React.Component {
267258
268259 elements . forEach ( ( e ) => e . forEach ( changeColors ( white , black ) ) ) ;
269260 $ ( 'p a' ) . forEach ( changeColors ( blue , white ) ) ;
270-
271- const style = document . createElement ( 'style' ) ;
272- const link = document . createElement ( 'link' ) ;
273-
274- link . setAttribute ( 'href' , 'https://fonts.googleapis.com/css?family=Roboto+Mono:400,400i' ) ;
275- link . setAttribute ( 'rel' , 'stylesheet' ) ;
276-
277- document . head . appendChild ( style ) ;
278- document . head . appendChild ( link ) ;
279261 } ;
280262
281263 closeTocWhenMobile = ( ) => {
You can’t perform that action at this time.
0 commit comments