fix for angular apps, when you dont have proper route and clicking on header leads to 'othewise' branch of router
This commit is contained in:
@@ -674,6 +674,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
$.bbq.pushState('#/', 2);
|
||||
Docs.collapseOperation(elem);
|
||||
} else {
|
||||
event.preventDefault();
|
||||
Docs.expandOperation(elem);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user