Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #158 from networknt/ui-dev
Browse files Browse the repository at this point in the history
fix typo - #155
  • Loading branch information
dz-1 authored Mar 1, 2019
2 parents aef368e + 60e810e commit 3235114
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions oauth2-console/src/js/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ export default class Utils{
$('textarea').each((index, text)=>{
text.style.height = 'auto';
text.style.height = text.scrollHeight + 'px';


console.log($(text).height());
});
}
}
2 changes: 1 addition & 1 deletion oauth2-console/src/js/components/webclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class WebClient extends React.Component {
if (WebClient.MODES.EDIT===this.state.mode){
let obj = this.state.data.find(o=>this.getId(o)===this.state.activeId);
return (
<this.editor save={s=>this.updateObject(s)} data={obj} close={()=>this.closeViwer()} handleError={e=>this.handleError(e)}/>
<this.editor save={s=>this.updateObject(s)} data={obj} close={()=>this.closeViewer()} handleError={e=>this.handleError(e)}/>
);
}

Expand Down

0 comments on commit 3235114

Please sign in to comment.