Fix CSS in snapshots of Reader View
Allow saving of CSS links over chrome://. We can scope this to chrome://global/skin/aboutReader.css if anyone thinks of a reason why this was disabled to begin with, but I'm not sure in what other situations CSS it would apply.
This commit is contained in:
parent
45f0a9e28a
commit
a97e27a9f2
1 changed files with 2 additions and 1 deletions
|
@ -639,7 +639,8 @@ var wpdDOMSaver = {
|
|||
if (medium != "" && medium.indexOf("screen") < 0 && medium.indexOf("all") < 0) {
|
||||
return "";
|
||||
}
|
||||
if (aCSS.href != null && aCSS.href.indexOf("chrome") == 0) return "";
|
||||
// Disabled by Dan S. to fix CSS on snapshots of Reader View
|
||||
//if (aCSS.href != null && aCSS.href.indexOf("chrome") == 0) return "";
|
||||
var flag = "";
|
||||
|
||||
// Added by Dan S. for Zotero
|
||||
|
|
Loading…
Reference in a new issue