Skip to content

Commit 2029182

Browse files
authored
Merge pull request ipython-contrib#1390 from twpark/patch-1
making it work for remote (public) jupyter notebook
2 parents 32fbec4 + 0072d30 commit 2029182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/code_font_size/code_font_size.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ define([
1010
var pre_style = null;
1111
for(i = 0; i < document.styleSheets.length; i++){
1212
//if style sheet is custom.css
13-
if(/localhost.*\/custom\/custom\.css/.test(document.styleSheets[i].href)){
13+
if(/.*\/custom\/custom\.css/.test(document.styleSheets[i].href)){
1414
//pre_css now contains the style sheet custom.css
1515
pre_css = document.styleSheets[i];
1616
break;

0 commit comments

Comments
 (0)