summaryrefslogtreecommitdiff
path: root/doc/sample_html/coverage_html.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sample_html/coverage_html.js')
-rw-r--r--doc/sample_html/coverage_html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sample_html/coverage_html.js b/doc/sample_html/coverage_html.js
index 3bf04bf9..6bc9fdf5 100644
--- a/doc/sample_html/coverage_html.js
+++ b/doc/sample_html/coverage_html.js
@@ -224,7 +224,7 @@ coverage.index_ready = function ($) {
coverage.wire_up_filter();
// Watch for page unload events so we can save the final sort settings:
- $(window).unload(function () {
+ $(window).on("unload", function () {
try {
localStorage.setItem(storage_name, sort_list.toString())
} catch(err) {}