Merge pull request #2313 from msuess/fix-return-key-header

fix hitting return key in HeaderView
This commit is contained in:
Tony Tam
2016-08-04 17:41:05 +02:00
committed by GitHub
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -22223,6 +22223,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
events: {
'click #show-pet-store-icon' : 'showPetStore',
'click #explore' : 'showCustom',
'submit #api_selector' : 'showCustom',
'keyup #input_baseUrl' : 'showCustomOnKeyup',
'keyup #input_apiKey' : 'showCustomOnKeyup'
},
+2 -2
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -4,6 +4,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
events: {
'click #show-pet-store-icon' : 'showPetStore',
'click #explore' : 'showCustom',
'submit #api_selector' : 'showCustom',
'keyup #input_baseUrl' : 'showCustomOnKeyup',
'keyup #input_apiKey' : 'showCustomOnKeyup'
},