www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a137f979e9d807c6566e92ab99dfe4aee197ef13
parent 267bdca64bcf2326301d70da9f9e98e4031848d9
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 24 Mar 2008 18:46:13 +0000

closes #944, WebPageDump not working in Firefox 3


Diffstat:
Mchrome/content/zotero/webpagedump/domsaver.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/webpagedump/domsaver.js b/chrome/content/zotero/webpagedump/domsaver.js @@ -615,7 +615,7 @@ var wpdDOMSaver = { if ( medium != "" && medium.indexOf("screen") < 0 && medium.indexOf("all") < 0 ) { return ""; } - if ( aCSS.href.indexOf("chrome") == 0 ) return ""; + if ( aCSS.href != null && aCSS.href.indexOf("chrome") == 0 ) return ""; var flag = ""; for ( var i=0; i<aCSS.cssRules.length; i++ ) { if ( aCSS.cssRules[i].type == 1 || aCSS.cssRules[i].type == 4 ) {