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