Merge branch 'master' of https://github.com/parloti/jasmine
* Merges #1807 from @parloti * Fixes #1775 * Prevents undesired reloads when karma-jasmine-html-reporter is used
This commit is contained in:
@@ -350,9 +350,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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user