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 {
228
228
229
229
elements . forEach ( ( e ) => e . forEach ( changeColors ( black , white ) ) ) ;
230
230
$ ( '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 ) ;
240
231
} ;
241
232
242
233
loadDarkTheme = ( ) => {
@@ -267,15 +258,6 @@ class ReadChapter extends React.Component {
267
258
268
259
elements . forEach ( ( e ) => e . forEach ( changeColors ( white , black ) ) ) ;
269
260
$ ( '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 ) ;
279
261
} ;
280
262
281
263
closeTocWhenMobile = ( ) => {
You can’t perform that action at this time.
0 commit comments