switched to snippet view #491

This commit is contained in:
Tony Tam
2014-07-12 20:30:28 -07:00
parent 7945dec86c
commit 855b31d73b
3 changed files with 3 additions and 3 deletions

2
dist/swagger-ui.js vendored
View File

@@ -2139,7 +2139,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
var template;
template = this.template();
$(this.el).html(template(this.model));
this.switchToDescription();
this.switchToSnippet();
this.isParam = this.model.isParam;
if (this.isParam) {
$('.notice', $(this.el)).text('Click to set as parameter value');