Merge pull request #2313 from msuess/fix-return-key-header
fix hitting return key in HeaderView
This commit is contained in:
1
dist/swagger-ui.js
vendored
1
dist/swagger-ui.js
vendored
@@ -22223,6 +22223,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
|||||||
events: {
|
events: {
|
||||||
'click #show-pet-store-icon' : 'showPetStore',
|
'click #show-pet-store-icon' : 'showPetStore',
|
||||||
'click #explore' : 'showCustom',
|
'click #explore' : 'showCustom',
|
||||||
|
'submit #api_selector' : 'showCustom',
|
||||||
'keyup #input_baseUrl' : 'showCustomOnKeyup',
|
'keyup #input_baseUrl' : 'showCustomOnKeyup',
|
||||||
'keyup #input_apiKey' : 'showCustomOnKeyup'
|
'keyup #input_apiKey' : 'showCustomOnKeyup'
|
||||||
},
|
},
|
||||||
|
|||||||
4
dist/swagger-ui.min.js
vendored
4
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -4,6 +4,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
|||||||
events: {
|
events: {
|
||||||
'click #show-pet-store-icon' : 'showPetStore',
|
'click #show-pet-store-icon' : 'showPetStore',
|
||||||
'click #explore' : 'showCustom',
|
'click #explore' : 'showCustom',
|
||||||
|
'submit #api_selector' : 'showCustom',
|
||||||
'keyup #input_baseUrl' : 'showCustomOnKeyup',
|
'keyup #input_baseUrl' : 'showCustomOnKeyup',
|
||||||
'keyup #input_apiKey' : 'showCustomOnKeyup'
|
'keyup #input_apiKey' : 'showCustomOnKeyup'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user