File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ apigee_edge.status_property:
5151 css/apigee_edge.status_property.css : {}
5252
5353apigee_edge.secret :
54- version : 1.0
54+ version : 1.1
5555 css :
5656 theme :
5757 css/apigee_edge.secret.css : {}
Original file line number Diff line number Diff line change 3939 $this . addClass ( hClass ) ;
4040
4141 // Toggle secret.
42- $ ( this ) . find ( '.secret__toggle' ) . on ( 'click' , function ( event ) {
42+ $ ( this ) . find ( '.secret__toggle' ) . once ( ) . on ( 'click' , function ( event ) {
4343 let index = $ ( this ) . closest ( appElWrapper ) . find ( '.secret__toggle' ) . index ( this ) ;
4444 let wrapperIndex = $wrapper . data ( 'app-container-index' ) ;
4545 event . preventDefault ( ) ;
5757
5858 // Copy to clipboard.
5959 let $copy = $ ( this ) . find ( '.secret__copy' ) ;
60- $copy . find ( 'button' ) . on ( 'click' , function ( event ) {
60+ $copy . find ( 'button' ) . once ( ) . on ( 'click' , function ( event ) {
6161 let index = $ ( this ) . closest ( appElWrapper ) . find ( '.secret__copy button' ) . index ( this ) ;
6262 let wrapperIndex = $wrapper . closest ( 'fieldset' ) . parent ( ) . find ( 'fieldset' ) . index ( $ ( this ) . closest ( 'fieldset' ) ) ;
6363 callEndpoint ( $wrapper . data ( 'app-keys-url' ) , function ( data ) {
You can’t perform that action at this time.
0 commit comments