mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Fix saving of gzipped CSS files via nsIWebBrowserPersist -- this will fix some of the pages for which snapshots were losing the CSS, but it doesn't address the @import issue
This commit is contained in:
parent
060e2942a0
commit
c72df62264
1 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ Zotero.Attachments = new function(){
|
|||
var wbp = Components
|
||||
.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"]
|
||||
.createInstance(nsIWBP);
|
||||
//wbp.persistFlags = nsIWBP.PERSIST_FLAGS...;
|
||||
wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION;
|
||||
var encodingFlags = false;
|
||||
|
||||
Zotero.DB.beginTransaction();
|
||||
|
|
@ -300,7 +300,7 @@ Zotero.Attachments = new function(){
|
|||
var wbp = Components
|
||||
.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"]
|
||||
.createInstance(nsIWBP);
|
||||
//wbp.persistFlags = nsIWBP.PERSIST_FLAGS...;
|
||||
wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION;
|
||||
var encodingFlags = false;
|
||||
|
||||
Zotero.DB.beginTransaction();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue