mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 14:55:47 +01:00
Only include active downloads in :downloads totals. Closes issue #726.
This commit is contained in:
@@ -385,8 +385,13 @@ var DOM = Class("DOM", {
|
||||
return;
|
||||
|
||||
this[0] instanceof Ci.nsIDOMNSEditableElement;
|
||||
if (this[0].editor instanceof Ci.nsIEditor)
|
||||
var editor = this[0].editor;
|
||||
try {
|
||||
if (this[0].editor instanceof Ci.nsIEditor)
|
||||
var editor = this[0].editor;
|
||||
}
|
||||
catch (e) {
|
||||
util.reportError(e);
|
||||
}
|
||||
|
||||
try {
|
||||
if (!editor)
|
||||
|
||||
Reference in New Issue
Block a user