diff options
author | Umair Khan <omerjerk@gmail.com> | 2013-12-04 21:12:33 +0400 |
---|---|---|
committer | Umair Khan <omerjerk@gmail.com> | 2013-12-05 16:45:08 +0400 |
commit | e56d10c2c7ef984e4e5e1556bc284536ab1c3e67 (patch) | |
tree | 875118ccf984a9d6dc3e4880357f1c54cbdac3ed /js/error_report.js | |
parent | 6970fa3bbf49da2d0cf8a8ff4e30ddbfa1f76043 (diff) |
bugfix in error_report.js
Signed-off-by: Umair Khan <omerjerk@gmail.com>
Diffstat (limited to 'js/error_report.js')
-rw-r--r-- | js/error_report.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/error_report.js b/js/error_report.js index 3fdbb69f3d..7ba3c77331 100644 --- a/js/error_report.js +++ b/js/error_report.js @@ -213,7 +213,7 @@ var ErrorReport = { "current_url": window.location.href, "microhistory": ErrorReport._get_microhistory() }; - if (typeof AJAX.cache.pages[this.current - 1] === 'undefined') { + if (typeof AJAX.cache.pages[AJAX.cache.current - 1] === 'undefined') { report_data.scripts = AJAX.cache.pages[AJAX.cache.current - 1].scripts.map( function (script) { return script.name; |