Skip to content

Commit

Permalink
fix #26
Browse files Browse the repository at this point in the history
fix #26
Returning false will cause 'zone.js' to invoke e.preventDefault(), preventing the page from reloading.
  • Loading branch information
parloti committed Apr 2, 2020
1 parent 79d5521 commit 9a7dfb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/html/HtmlReporter.js
Expand Up @@ -321,9 +321,11 @@ jasmineRequire.HtmlReporter = function(j$) {

find('.jasmine-failures-menu').onclick = function() {
setMenuModeTo('jasmine-failure-list');
return false;
};
find('.jasmine-spec-list-menu').onclick = function() {
setMenuModeTo('jasmine-spec-list');
return false;
};

setMenuModeTo('jasmine-failure-list');
Expand Down

0 comments on commit 9a7dfb1

Please sign in to comment.