diff options
-rw-r--r-- | js/assets.js | 2 | ||||
-rw-r--r-- | lib/Tools.jsm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/assets.js b/js/assets.js index 82b08a5..484c4ef 100644 --- a/js/assets.js +++ b/js/assets.js @@ -588,7 +588,7 @@ }; let onRemoteContentError = function (details, tries) { - let text = detail.statusText; + let text = details.statusText; if (details.statusCode === 0) { text = 'network error'; } diff --git a/lib/Tools.jsm b/lib/Tools.jsm index 6db8cfd..c57a5eb 100644 --- a/lib/Tools.jsm +++ b/lib/Tools.jsm @@ -28,7 +28,7 @@ var EXPORTED_SYMBOLS = ['Tools']; var LineIterator = function (text, offset) { this.text = text; this.textLen = this.text.length; - this offset = offset || 0; + this.offset = offset || 0; }; LineIterator.prototype = { |