Skip to content

Commit

Permalink
switched to snippet view swagger-api#491
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Jul 13, 2014
1 parent 591edac commit 2005d5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swagger-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Loading

0 comments on commit 2005d5b

Please sign in to comment.